mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user