From: Theodore Ts'o Date: Sat, 20 Jun 2009 17:01:43 +0000 (+0200) Subject: skip _check_test_fs unless a test is actually run X-Git-Tag: v1.1.0~263 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=41c40276a4251eefb82bc3140c2c2c43b717f368;p=xfstests-dev.git skip _check_test_fs unless a test is actually run Running _check_test_fs can take a non-trivial amount of time, and if a test has been skipped because it doesn't work on Linux, or it doesn't work of for ext4, it's pointless to re-run _check_test_fs. So move the call to _check_test_fs so it is only run if a test is actually run. Signed-off-by: "Theodore Ts'o" Signed-off-by: Christoph Hellwig Reviewed-by: Felix Blyakher --- diff --git a/check b/check index 545c010f..1aae528c 100755 --- a/check +++ b/check @@ -308,10 +308,10 @@ do then try="$try $seq" n_try=`expr $n_try + 1` + _check_test_fs fi seq="after_$seq" - _check_test_fs done interrupt=false