Skip to content

Commit

Permalink
test-should-fail: Fix distcheck
Browse files Browse the repository at this point in the history
We were writing to the sourcedir.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Aug 19, 2024
1 parent 9fa7dab commit 0c8ce52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-should-fail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0c8ce52

Please sign in to comment.