IRIX doesn't support -q option to pwrite so redirect output of command to /dev/null.
authorLachlan McIlroy <lachlan@sgi.com>
Thu, 12 Oct 2006 16:00:23 +0000 (16:00 +0000)
committerLachlan McIlroy <lachlan@sgi.com>
Thu, 12 Oct 2006 16:00:23 +0000 (16:00 +0000)
Merge of master-melb:xfs-cmds:27178a by kenmcd.

  IRIX doesn't support -q option to pwrite so redirect output of command to /dev/null.

133

diff --git a/133 b/133
index 4872524465f3f6626dd82fd6614ff0ea2644f28a..d46bffbb3b46994387920befd7e9441caecb2f18 100755 (executable)
--- a/133
+++ b/133
@@ -34,30 +34,30 @@ _supported_os Linux IRIX
 _setup_testdir
 
 echo "Buffered writer, buffered reader"
-xfs_io -f -d -c 'pwrite -q -b 64k 0 512m' $testdir/io_test
-xfs_io -f -c 'pwrite -q -b 64k 0 512m' $testdir/io_test &
-xfs_io -c 'pread -q -b 64k 0 512m' $testdir/io_test
+xfs_io -f -d -c 'pwrite -b 64k 0 512m' $testdir/io_test > /dev/null
+xfs_io -f -c 'pwrite -b 64k 0 512m' $testdir/io_test >/dev/null &
+xfs_io -c 'pread -b 64k 0 512m' $testdir/io_test > /dev/null
 wait
 rm $testdir/io_test
 
 echo "Direct writer, buffered reader"
-xfs_io -f -d -c 'pwrite -q -b 64k 0 512m' $testdir/io_test
-xfs_io -f -d -c 'pwrite -q -b 64k 0 512m' $testdir/io_test &
-xfs_io -c 'pread -q -b 64k 0 512m' $testdir/io_test
+xfs_io -f -d -c 'pwrite -b 64k 0 512m' $testdir/io_test > /dev/null
+xfs_io -f -d -c 'pwrite -b 64k 0 512m' $testdir/io_test >/dev/null &
+xfs_io -c 'pread -b 64k 0 512m' $testdir/io_test > /dev/null
 wait
 rm $testdir/io_test
 
 echo "Buffered writer, direct reader"
-xfs_io -f -d -c 'pwrite -q -b 64k 0 512m' $testdir/io_test
-xfs_io -f -c 'pwrite -q -b 64k 0 512m' $testdir/io_test &
-xfs_io -d -c 'pread -q -b 64k 0 512m' $testdir/io_test
+xfs_io -f -d -c 'pwrite -b 64k 0 512m' $testdir/io_test > /dev/null
+xfs_io -f -c 'pwrite -b 64k 0 512m' $testdir/io_test >/dev/null &
+xfs_io -d -c 'pread -b 64k 0 512m' $testdir/io_test > /dev/null
 wait
 rm $testdir/io_test
 
 echo "Direct writer, direct reader"
-xfs_io -f -d -c 'pwrite -q -b 64k 0 512m' $testdir/io_test
-xfs_io -f -d -c 'pwrite -q -b 64k 0 512m' $testdir/io_test &
-xfs_io -d -c 'pread -q -b 64k 0 512m' $testdir/io_test
+xfs_io -f -d -c 'pwrite -b 64k 0 512m' $testdir/io_test > /dev/null
+xfs_io -f -d -c 'pwrite -b 64k 0 512m' $testdir/io_test >/dev/null &
+xfs_io -d -c 'pread -b 64k 0 512m' $testdir/io_test > /dev/null
 wait
 rm $testdir/io_test