xfstests: Change mount method for generic/258

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>
This commit is contained in:
Michael L. Semon
2013-05-22 13:50:59 -05:00
committed by Rich Johnston
parent a8c25f0702
commit f4ba26dcdc
+1 -1
View File
@@ -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"