summaryrefslogtreecommitdiff
path: root/tests/fsck-tests/012-leaf-corruption/test.sh
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-04-03 15:01:12 +0800
committerDavid Sterba <dsterba@suse.cz>2015-04-07 17:22:30 +0200
commit8720e15cd1dc3993729141f54d2c6301cce4415a (patch)
tree0632d31948954b4615b7f32836c6df56ef70506b /tests/fsck-tests/012-leaf-corruption/test.sh
parentffe9554b7888846e374cedba0e9f21142d988d8f (diff)
btrfs-progs: test-frame: Update variant names
Use upper case variant name for the following variants: 1) top -> TOP 2) script_dir -> SCRIPT_DIR And change the following variant name: 1) RESULT -> RESULTS Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.cz>
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 || \