summaryrefslogtreecommitdiff
path: root/tests/fsck-tests/012-leaf-corruption/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fsck-tests/012-leaf-corruption/test.sh')
-rwxr-xr-xtests/fsck-tests/012-leaf-corruption/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fsck-tests/012-leaf-corruption/test.sh b/tests/fsck-tests/012-leaf-corruption/test.sh
index 8f82fd16..fe5c2260 100755
--- a/tests/fsck-tests/012-leaf-corruption/test.sh
+++ b/tests/fsck-tests/012-leaf-corruption/test.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-source $top/tests/common
+source $TOP/tests/common
# Check file list for leaf corruption, no regular/preallocated
# file extent case.
@@ -34,7 +34,7 @@ leaf_no_data_ext_list=(
generate_leaf_corrupt_no_data_ext()
{
dest=$1
- echo "generating leaf_corrupt_no_data_ext.btrfs-image" >> $RESULT
+ echo "generating leaf_corrupt_no_data_ext.btrfs-image" >> $RESULTS
tar xJf ./no_data_extent.tar.xz || \
_fail "failed to extract leaf_corrupt_no_data_ext.btrfs-image"
btrfs-image -r test.img.btrfs-image $dest || \