xfstests: Change mount method for generic/258
authorMichael L. Semon <mlsemon35@gmail.com>
Wed, 22 May 2013 18:50:59 +0000 (13:50 -0500)
committerRich Johnston <rjohnston@sgi.com>
Wed, 22 May 2013 18:50:59 +0000 (13:50 -0500)
Use the built-in _test_mount function from xfstests so it will use
the correct mount options for xfstests.  The script used a simple
umount-and-mount sequence, which caused a test failure on an XFS
filesystem that used both realtime and external log devices.

Signed-off-by: Michael L. Semon <mlsemon35@gmail.com>
Reviewed-by: Eric Sandeen <sandeen@rehat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
tests/generic/258

index fb091ae9266eae3d1c92e5b084e35bf80a631f97..3aeb5ce0dea816056f233b994d16f5ac226835aa 100755 (executable)
@@ -62,7 +62,7 @@ fi
 # unmount, remount, and check the timestamp
 echo "Remounting to flush cache"
 umount $TEST_DEV
-mount $TEST_DEV $TEST_DIR
+_test_mount
 
 # Should yield -315593940 (prior to epoch)
 echo "Testing for negative seconds since epoch"