From 219dbd9f08d6285559308b56abba3fd303a0efc0 Mon Sep 17 00:00:00 2001 From: Lachlan McIlroy Date: Thu, 12 Oct 2006 16:00:23 +0000 Subject: [PATCH] IRIX doesn't support -q option to pwrite so redirect output of command to /dev/null. 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 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/133 b/133 index 48725244..d46bffbb 100755 --- 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 -- 2.30.2