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
David Sterba 2019-07-04 12:55:33 +02:00
parent 7797f03924
commit dc6da57e0a
1 changed files with 1 additions and 2 deletions

View File

@ -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"