From: Allan Randall Date: Wed, 5 Jul 2006 15:48:28 +0000 (+0000) Subject: Modified Test to work on irix X-Git-Tag: v1.1.0~615 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1947a974dd6bdc654608e15b506c7240b321a3f2;p=xfstests-dev.git Modified Test to work on irix Merge of master-melb:xfs-cmds:26439a by kenmcd. Modified Test to work on irix --- diff --git a/120 b/120 index cdc95d3a..d47a005c 100755 --- a/120 +++ b/120 @@ -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"