From: Tim Shimmin Date: Thu, 2 Jun 2005 06:03:36 +0000 (+0000) Subject: filter out cleanup rm for IRIX X-Git-Tag: v1.1.0~725 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=669c247b5eaff9a8503b87e1afcfaa26dadc614f;p=users%2Fhch%2Fxfstests-dev.git filter out cleanup rm for IRIX Merge of master-melb:xfs-cmds:22776a by kenmcd. filter out cleanup rm for IRIX --- diff --git a/013 b/013 index 2d0c71c7a..61b02dc82 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 }