From 669c247b5eaff9a8503b87e1afcfaa26dadc614f Mon Sep 17 00:00:00 2001 From: Tim Shimmin Date: Thu, 2 Jun 2005 06:03:36 +0000 Subject: [PATCH] filter out cleanup rm for IRIX Merge of master-melb:xfs-cmds:22776a by kenmcd. filter out cleanup rm for IRIX --- 013 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/013 b/013 index 2d0c71c7..61b02dc8 100755 --- a/013 +++ b/013 @@ -51,8 +51,12 @@ _cleanup() cd / # we might get here with a RO FS mount -o remount,rw $TEST_DEV >/dev/null 2>&1 - # now kill! - rm -rf $testdir/fsstress.$$.* + # now remove fsstress directory. + # N.B. rm(1) on IRIX can find problems when building up a long pathname + # such that what it has is greater the 1024 chars and will + # stop and complain - so get rid of complaint + # Ref. pv#935754 + rm -rf $testdir/fsstress.$$.* 2>&1 | grep -v 'Path too long' _cleanup_testdir } -- 2.47.3