btrfs-progs: fuzz-test: Add test case for invalid drop level
[platform/upstream/btrfs-progs.git] / tests / mkfs-tests.sh
index c0635ad..1afc028 100755 (executable)
@@ -2,8 +2,6 @@
 #
 # mkfs.btrfs tests
 
-unset TOP
-unset LANG
 LANG=C
 SCRIPT_DIR=$(dirname $(readlink -f $0))
 TOP=$(readlink -f $SCRIPT_DIR/../)
@@ -13,13 +11,11 @@ IMAGE="$TOP/tests/test.img"
 
 source $TOP/tests/common
 
-# Allow child test to use $TOP and $RESULTS
 export TOP
 export RESULTS
-# For custom script needs to verfiy recovery
 export LANG
-# For tests that only use a loop device
 export IMAGE
+export TEST_DEV
 
 rm -f $RESULTS