Modified Test to work on irix
authorAllan Randall <allanr@sgi.com>
Wed, 5 Jul 2006 15:48:28 +0000 (15:48 +0000)
committerAllan Randall <allanr@sgi.com>
Wed, 5 Jul 2006 15:48:28 +0000 (15:48 +0000)
Merge of master-melb:xfs-cmds:26439a by kenmcd.

  Modified Test to work on irix

120

diff --git a/120 b/120
index cdc95d3a5f3a5fefabe14bf4e02171eed85c7d15..d47a005c422c270287c9cc5f48b3475bc341fe2a 100755 (executable)
--- a/120
+++ b/120
@@ -29,7 +29,7 @@ _supported_os Linux IRIX
 _require_scratch
 _scratch_mkfs_xfs >/dev/null 2>&1
 
 _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)}'`"
 {
        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"
 then
     cat $tmp.out
     echo "!!! mount failed"