btrfs-progs: tests: fix source path for testsuite

The commit cebf3b3722 ("btrfs-progs: introduce TEST_TOP and
INTERNAL_BIN for tests") did not convert all test paths. This would
break the exported testsutie.

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2018-03-12 19:17:49 +01:00
parent 546cea6f36
commit e875cd98e3
7 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@
# Also due to the short life span of reloc tree, save the as dump example for
# later usage.
source "$TOP/tests/common"
source "$TEST_TOP/common"
check_prereq btrfs

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Test that any superblock is correctly detected and fixed by btrfs rescue
source "$TOP/tests/common"
source "$TEST_TOP/common"
check_prereq btrfs
check_prereq mkfs.btrfs

View File

@ -2,7 +2,7 @@
# test that send -p does not corrupt paths when send is using 2 different mount
# points
source "$TOP/tests/common"
source "$TEST_TOP/common"
check_prereq btrfs
check_prereq mkfs.btrfs

View File

@ -1,7 +1,7 @@
#!/bin/bash
# test if the reported minimal size of mkfs.btrfs is valid
source "$TOP/tests/common"
source "$TEST_TOP/common"
check_prereq mkfs.btrfs
check_prereq btrfs

View File

@ -3,7 +3,7 @@
# Expected behavior: it should create a new file if destination doesn't exist
# Regression 460e93f25754 ("btrfs-progs: mkfs: check the status of file at mkfs")
source "$TOP/tests/common"
source "$TEST_TOP/common"
check_prereq mkfs.btrfs

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Test if mkfs.btrfs --rootdir will skip shrinking correctly
source "$TOP/tests/common"
source "$TEST_TOP/common"
check_prereq mkfs.btrfs

View File

@ -6,7 +6,7 @@
# using btrfs_alloc_chunk() which won't use the 0~1M range, so other profiles
# are safe, but we test them nevertheless.
source "$TOP/tests/common"
source "$TEST_TOP/common"
check_prereq mkfs.btrfs
check_prereq btrfs