diff --git a/check b/check index 18cae754..3b484028 100755 --- a/check +++ b/check @@ -50,12 +50,6 @@ timestamp=${TIMESTAMP:=false} rm -f $tmp.list $tmp.tmp $tmp.grep $here/$iam.out $tmp.xlist -# Autodetect fs type based on what's on $TEST_DEV -if [ "$HOSTOS" == "Linux" ]; then - FSTYP=`blkid -c /dev/null -s TYPE -o value $TEST_DEV` -fi -export FSTYP - # we need common.config if ! . ./common/config then @@ -63,6 +57,12 @@ then exit 1 fi +# Autodetect fs type based on what's on $TEST_DEV +if [ "$HOSTOS" == "Linux" ]; then + FSTYP=`blkid -c /dev/null -s TYPE -o value $TEST_DEV` +fi +export FSTYP + SUPPORTED_TESTS="[0-9][0-9][0-9] [0-9][0-9][0-9][0-9]" SRC_GROUPS="generic shared" export SRC_DIR="tests"