xfstests: Skip dump _cleanup if filesystem is not xfs
PATCH 1/1 xfstests: Skip dump _cleanup if filesystem is not xfs
Skip dump _cleanup if filesystem is not xfs
Many/most dump tests include common.dump before checking supported fs, and this means that even if the dump tests are skipped, the sleep & filesystem check in _cleanup gets run, which makes it take rather a long time to skip these tests for non-xfs filesystems.
---
common.dump +6 -0
@@ -233,6 +233,12 @@ _wipe_fs() # _cleanup() { + # Some tests include this before checking _supported_fs xfs + # and the sleeps & checks get annoying + if [ "$FSTYP" != "xfs" ]; then + return + fi + cd $here rm -f $tmp.*
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 17 lines · Eric Sandeen
Skip dump
_cleanupif filesystem is not xfsMany/most dump tests include common.dump before checking supported fs, and this means that even if the dump tests are skipped, the sleep & filesystem check in
_cleanupgets run, which makes it take rather a long time to skip these tests for non-xfs filesystems.Signed-off-by Eric Sandeen <[email protected]>---
common.dump +0
-0
common.dump _wipe_fs() · line 240
Quoted 8 lines
common.dump +5
-0@@ -233,6 +233,12 @@ _wipe_fs() # _cleanup() { + # Some tests include this before checking _supported_fs xfs + # and the sleeps & checks get annoying + if [ "$FSTYP" != "xfs" ]; then + return + fi
Looks good,
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Quoted 9 lines · Eric Sandeen
Skip dump
_cleanupif filesystem is not xfsMany/most dump tests include common.dump before checking supported fs, and this means that even if the dump tests are skipped, the sleep & filesystem check in
_cleanupgets run, which makes it take rather a long time to skip these tests for non-xfs filesystems.Signed-off-by Eric Sandeen <[email protected]>
Quoted 23 lines
---
common.dump +6
-0@@ -233,6 +233,12 @@ _wipe_fs() # _cleanup() { + # Some tests include this before checking _supported_fs xfs + # and the sleeps & checks get annoying + if [ "$FSTYP" != "xfs" ]; then + return + fi + cd $here rm -f $tmp.*
Quoted 4 lines
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs