mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-17 18:26:55 +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"
|
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
Block a user