From 0c8ce52075bd00b4b737a04389a8a29fc183ad0b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 19 Aug 2024 11:04:17 -0400 Subject: [PATCH] test-should-fail: Fix distcheck We were writing to the sourcedir. Signed-off-by: Colin Walters --- tests/test-should-fail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-should-fail.sh b/tests/test-should-fail.sh index 94d28798..a6963e5b 100755 --- a/tests/test-should-fail.sh +++ b/tests/test-should-fail.sh @@ -7,7 +7,7 @@ shift tmpd=$(mktemp -d -t lcfs-test.XXXXXX) trap 'rm -rf -- "$tmpd"' EXIT for f in $@; do - if $bindir/mkcomposefs --from-file $f $tmpd/out.cfs >/dev/null 2>err.txt; then + if $bindir/mkcomposefs --from-file $f $tmpd/out.cfs &>/dev/null; then fatal "Test case $f should have failed" fi echo "ok $f"