mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-29 17:02:43 +00:00
btrfs-progs: test: update clean-test.sh after the TEST_TOP update
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
e44f595dd7
commit
dbb8c9d19e
@ -28,7 +28,7 @@ TEST_DEV=${TEST_DEV:-}
|
||||
RESULTS="$TEST_TOP/cli-tests-results.txt"
|
||||
IMAGE="$TEST_TOP/test.img"
|
||||
|
||||
source "$TEST_TOP/tests/common"
|
||||
source "$TEST_TOP/common"
|
||||
|
||||
setup_root_helper
|
||||
|
||||
@ -38,8 +38,8 @@ fi
|
||||
|
||||
$SUDO_HELPER umount "$TEST_MNT" &>/dev/null
|
||||
|
||||
if ! cd "$TOP/tests"; then
|
||||
echo "ERROR: cannot cd to $TOP/tests"
|
||||
if ! cd "$TEST_TOP"; then
|
||||
echo "ERROR: cannot cd to $TEST_TOP"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user