summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-06-11 18:04:41 +0000
committerrillig <rillig@pkgsrc.org>2020-06-11 18:04:41 +0000
commiteee12c7640fbd60d352d9c0f1c1602feabe97f30 (patch)
treebc449ff1f5d3b2dc87fc50ec21606d78ac88f6d6 /regress
parent0e198c3f949480366d143978fb115756360d6359 (diff)
downloadpkgsrc-eee12c7640fbd60d352d9c0f1c1602feabe97f30.tar.gz
mk/subst.mk: always remove temporary file
Fixes PR pkg/55364.
Diffstat (limited to 'regress')
-rw-r--r--regress/infra-unittests/subst.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/regress/infra-unittests/subst.sh b/regress/infra-unittests/subst.sh
index 9cb429b68ec..face9fc0f6d 100644
--- a/regress/infra-unittests/subst.sh
+++ b/regress/infra-unittests/subst.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-# $NetBSD: subst.sh,v 1.47 2020/06/11 17:57:11 rillig Exp $
+# $NetBSD: subst.sh,v 1.48 2020/06/11 18:04:41 rillig Exp $
#
# Tests for mk/subst.mk.
#
@@ -1388,10 +1388,8 @@ if test_case_begin 'identity substitution, found in file'; then
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'
+ if [ -f "file.subst.sav" ]; then
+ assert_fail 'temporary file still exists\n'
fi
test_case_end