mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-25 15:42:23 +00:00
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>
This commit is contained in:
parent
7797f03924
commit
dc6da57e0a
@ -21,8 +21,7 @@ else
|
||||
INTERNAL_BIN="$TEST_TOP"
|
||||
fi
|
||||
if ! [ -x "$TOP/btrfs" ]; then
|
||||
echo "ERROR: cannot execute btrfs from TOP=$TOP"
|
||||
exit 1
|
||||
echo "WARNING: cannot find btrfs in TOP=$TOP"
|
||||
fi
|
||||
TEST_DEV=${TEST_DEV:-}
|
||||
RESULTS="$TEST_TOP/cli-tests-results.txt"
|
||||
|
Loading…
Reference in New Issue
Block a user