From: Tim Shimmin Date: Tue, 23 Aug 2005 15:12:53 +0000 (+0000) Subject: stat is different on Linux vs. IRIX. Will use ls instead and filter. X-Git-Tag: v1.1.0~693 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a5959aafca05b0613d94cf13f6a973107a7da149;p=users%2Fhch%2Fxfstests-dev.git stat is different on Linux vs. IRIX. Will use ls instead and filter. Merge of master-melb:xfs-cmds:23593a by kenmcd. stat is different on Linux vs. IRIX. Will use ls instead and filter. --- diff --git a/118 b/118 index b2c00d067..be43ed6d7 100755 --- a/118 +++ b/118 @@ -99,7 +99,9 @@ echo "now fill in the holes" _chowning_file 1000 2000 1 echo "look at the final file ownership for fun" -stat -ug $SCRATCH_MNT/* | sed "s#$SCRATCH_MNT#SCRATCH_MNT#g" +ls -l $SCRATCH_MNT/* \ +| $AWK_PROG 'NF > 2 {print $3, $4, $NF}' \ +| sed "s#$SCRATCH_MNT#SCRATCH_MNT#g" # success, all done status=0 diff --git a/118.out b/118.out index b7ea99752..5cdb6944d 100644 --- a/118.out +++ b/118.out @@ -6,5 +6,4 @@ creating quota file with holes now fill in the holes ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ look at the final file ownership for fun -SCRATCH_MNT/file.chown: - uid 1999; gid 1999 +1999 1999 SCRATCH_MNT/file.chown