Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/regress/infra-unittests regress/infra-unittests: fix s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ced478a8b475
branches:  trunk
changeset: 430515:ced478a8b475
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri May 01 14:14:12 2020 +0000

description:
regress/infra-unittests: fix syntax error in test.subr

ShellCheck complained about a parse error in the empty functions, which
agrees with the shell grammar given in IEEE 1003.1, both the 2004 Edition
and the 2018 Edition.

diffstat:

 regress/infra-unittests/test.subr |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r ed236eb5761d -r ced478a8b475 regress/infra-unittests/test.subr
--- a/regress/infra-unittests/test.subr Fri May 01 14:11:16 2020 +0000
+++ b/regress/infra-unittests/test.subr Fri May 01 14:14:12 2020 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-# $NetBSD: test.subr,v 1.11 2020/04/29 18:33:56 rillig Exp $
+# $NetBSD: test.subr,v 1.12 2020/05/01 14:14:12 rillig Exp $
 #
 # This file defines utilities for testing Makefile fragments and shell
 # programs from the pkgsrc infrastructure. While testing one part of the
@@ -153,10 +153,12 @@
 
 # Can be redefined by actual tests.
 test_case_set_up() {
+       :
 }
 
 # Can be redefined by actual tests.
 test_case_tear_down() {
+       :
 }
 
 test_case_end() {



Home | Main Index | Thread Index | Old Index