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: demon...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e683ea954102
branches: trunk
changeset: 434139:e683ea954102
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jun 11 17:57:11 2020 +0000
description:
regress/infra-unittests: demonstrate leftover temporary file
Discovered by John Klos in PR pkg/55364.
diffstat:
regress/infra-unittests/subst.sh | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 2b65111210d3 -r e683ea954102 regress/infra-unittests/subst.sh
--- a/regress/infra-unittests/subst.sh Thu Jun 11 17:29:23 2020 +0000
+++ b/regress/infra-unittests/subst.sh Thu Jun 11 17:57:11 2020 +0000
@@ -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 @@
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