From 1947a974dd6bdc654608e15b506c7240b321a3f2 Mon Sep 17 00:00:00 2001 From: Allan Randall Date: Wed, 5 Jul 2006 15:48:28 +0000 Subject: [PATCH] Modified Test to work on irix Merge of master-melb:xfs-cmds:26439a by kenmcd. Modified Test to work on irix --- 120 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.30.2