pkgsrc-Changes archive

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

CVS commit: pkgsrc/regress/infra-unittests



Module Name:    pkgsrc
Committed By:   rillig
Date:           Fri May  1 14:14:12 UTC 2020

Modified Files:
        pkgsrc/regress/infra-unittests: test.subr

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/regress/infra-unittests/test.subr

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/regress/infra-unittests/test.subr
diff -u pkgsrc/regress/infra-unittests/test.subr:1.11 pkgsrc/regress/infra-unittests/test.subr:1.12
--- pkgsrc/regress/infra-unittests/test.subr:1.11       Wed Apr 29 18:33:56 2020
+++ pkgsrc/regress/infra-unittests/test.subr    Fri May  1 14:14:12 2020
@@ -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 @@ test_case_begin() {
 
 # 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