pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_regress/files Don't fail when a regressio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b290683b0f1
branches:  trunk
changeset: 348253:1b290683b0f1
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jun 11 10:31:06 2016 +0000

description:
Don't fail when a regression test uses "set -eu".

diffstat:

 pkgtools/pkg_regress/files/pkg_regress.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r fd09e4982245 -r 1b290683b0f1 pkgtools/pkg_regress/files/pkg_regress.sh
--- a/pkgtools/pkg_regress/files/pkg_regress.sh Sat Jun 11 09:37:28 2016 +0000
+++ b/pkgtools/pkg_regress/files/pkg_regress.sh Sat Jun 11 10:31:06 2016 +0000
@@ -1,6 +1,6 @@
 #! @SH@
 #
-# $NetBSD: pkg_regress.sh,v 1.5 2016/06/11 09:37:16 rillig Exp $
+# $NetBSD: pkg_regress.sh,v 1.6 2016/06/11 10:31:06 rillig Exp $
 #
 set -e
 
@@ -89,7 +89,7 @@
 
        do_cleanup
 
-       if [ -n "$MAKEARGS_CLEAN" ]; then
+       if [ -n "${MAKEARGS_CLEAN-}" ]; then
                $TEST_MAKE $MAKEARGS_CLEAN >>$TEST_OUTFILE
        fi
 



Home | Main Index | Thread Index | Old Index