btrfs-progs: tests: fix source path for testsuite
[platform/upstream/btrfs-progs.git] / tests / misc-tests / 028-superblock-recover / test.sh
index 1175e48..a177e1e 100755 (executable)
@@ -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