diff options
author | David Sterba <dsterba@suse.com> | 2018-03-12 19:17:49 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-30 22:15:54 +0200 |
commit | e875cd98e38f9fdc7f812a7575a3a2afd6b6094b (patch) | |
tree | 6a6f34493d17b47c060da3519e438e90d1eea3a0 /tests/misc-tests | |
parent | 546cea6f364cb5d51e589186503764595543123a (diff) |
btrfs-progs: tests: fix source path for testsuite
The commit cebf3b37228cbde730a5 ("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>
Diffstat (limited to 'tests/misc-tests')
-rwxr-xr-x | tests/misc-tests/028-superblock-recover/test.sh | 2 | ||||
-rwxr-xr-x | tests/misc-tests/029-send-p-different-mountpoints/test.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc-tests/028-superblock-recover/test.sh b/tests/misc-tests/028-superblock-recover/test.sh index 1175e480..a177e1e1 100755 --- a/tests/misc-tests/028-superblock-recover/test.sh +++ b/tests/misc-tests/028-superblock-recover/test.sh @@ -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 diff --git a/tests/misc-tests/029-send-p-different-mountpoints/test.sh b/tests/misc-tests/029-send-p-different-mountpoints/test.sh index 6a380158..0b42b772 100755 --- a/tests/misc-tests/029-send-p-different-mountpoints/test.sh +++ b/tests/misc-tests/029-send-p-different-mountpoints/test.sh @@ -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 |