tests="-b -g -s"
# Include lock tests unless we're running on nfsv4
- local fstype=$(df -T $testdir | awk 'NR==2 {print $2}')
+ local fstype=$(df -TP $testdir | awk 'NR==2 {print $2}')
echo "$testdir: $fstype"
if [[ $fstype != "nfs4" ]]; then
tests="$tests -l"
run_test statahead "statahead test, multiple clients"
-equals_msg `basename $0`: test complete, cleaning up
+complete $(basename $0) $SECONDS
check_and_cleanup_lustre
-[ -f "$TESTSUITELOG" ] && cat $TESTSUITELOG && grep -q FAIL $TESTSUITELOG && exit 1 || true
+exit_status