Modified Test to work on irix

Merge of master-melb:xfs-cmds:26439a by kenmcd.

  Modified Test to work on irix
This commit is contained in:
Allan Randall
2006-07-05 15:48:28 +00:00
parent bb71991fb8
commit 1947a974dd
+2 -2
View File
@@ -29,7 +29,7 @@ _supported_os Linux IRIX
_require_scratch
_scratch_mkfs_xfs >/dev/null 2>&1
function _compare_access_times()
_compare_access_times()
{
original_access_time="`cat $tmp.out | sed -n '5p'|awk '{ print substr($0,0,32)}'`"
accessed_time="`src/lstat64 $1 | sed -n '5p'| awk '{ print substr($0,0,32)}'`"
@@ -45,7 +45,7 @@ function _compare_access_times()
}
if ! _scratch_mount -onoatime >$tmp.out 2>&1
if ! _scratch_mount "-o noatime" >$tmp.out 2>&1
then
cat $tmp.out
echo "!!! mount failed"