forked from Mirrors/btrfs-progs
btrfs-progs: tests: make test-clean work without built binaries
'make clean' followed by 'make test-clean' will fail due to the sanity check for 'btrfs' binary. We don't need that for cleaning the test, so turn the error into a warning. Signed-off-by: David Sterba <dsterba@suse.com>master
parent
7797f03924
commit
dc6da57e0a
|
@ -21,8 +21,7 @@ else
|
||||||
INTERNAL_BIN="$TEST_TOP"
|
INTERNAL_BIN="$TEST_TOP"
|
||||||
fi
|
fi
|
||||||
if ! [ -x "$TOP/btrfs" ]; then
|
if ! [ -x "$TOP/btrfs" ]; then
|
||||||
echo "ERROR: cannot execute btrfs from TOP=$TOP"
|
echo "WARNING: cannot find btrfs in TOP=$TOP"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
TEST_DEV=${TEST_DEV:-}
|
TEST_DEV=${TEST_DEV:-}
|
||||||
RESULTS="$TEST_TOP/cli-tests-results.txt"
|
RESULTS="$TEST_TOP/cli-tests-results.txt"
|
||||||
|
|
Loading…
Reference in New Issue