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: Thu Jun 11 17:57:11 UTC 2020
Modified Files:
pkgsrc/regress/infra-unittests: subst.sh
Log Message:
regress/infra-unittests: demonstrate leftover temporary file
Discovered by John Klos in PR pkg/55364.
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/regress/infra-unittests/subst.sh
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/subst.sh
diff -u pkgsrc/regress/infra-unittests/subst.sh:1.46 pkgsrc/regress/infra-unittests/subst.sh:1.47
--- pkgsrc/regress/infra-unittests/subst.sh:1.46 Sun Jun 7 05:53:53 2020
+++ pkgsrc/regress/infra-unittests/subst.sh Thu Jun 11 17:57:11 2020
@@ -1,5 +1,5 @@
#! /bin/sh
-# $NetBSD: subst.sh,v 1.46 2020/06/07 05:53:53 rillig Exp $
+# $NetBSD: subst.sh,v 1.47 2020/06/11 17:57:11 rillig Exp $
#
# Tests for mk/subst.mk.
#
@@ -1388,6 +1388,11 @@ if test_case_begin 'identity substitutio
assert_that "$tmpdir/output" --file-is-lines \
'=> Substituting "id" in file'
+ # demonstrate PR pkg/55364
+ # FIXME: negate
+ if [ ! -f "file.subst.sav" ]; then
+ assert_fail 'FIXME: temporary file still exists\n'
+ fi
test_case_end
fi
Home |
Main Index |
Thread Index |
Old Index