summaryrefslogtreecommitdiff
path: root/tests/fsck-tests.sh
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2016-07-26 13:30:05 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2016-07-26 13:30:05 +0100
commit33c949697e316f17bb5037ae83509f35ce28f6a9 (patch)
tree41ea985d7efe7c3c1a2f64326d8de1a45de7af33 /tests/fsck-tests.sh
parentaffaba87a2797d4d468faad268cc5e21c96c6c16 (diff)
New upstream release
Diffstat (limited to 'tests/fsck-tests.sh')
-rwxr-xr-xtests/fsck-tests.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/fsck-tests.sh b/tests/fsck-tests.sh
index 2aab4ff2..d1cd7329 100755
--- a/tests/fsck-tests.sh
+++ b/tests/fsck-tests.sh
@@ -1,25 +1,21 @@
#!/bin/bash
#
# loop through all of our bad images and make sure fsck repairs them properly
-#
-# It's GPL, same as everything else in this tree.
-#
-unset TOP
-unset LANG
LANG=C
SCRIPT_DIR=$(dirname $(readlink -f $0))
TOP=$(readlink -f $SCRIPT_DIR/../)
TEST_DEV=${TEST_DEV:-}
RESULTS="$TOP/tests/fsck-tests-results.txt"
+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
+export IMAGE
+export TEST_DEV
rm -f $RESULTS