xfstests: small fixes.
PATCH 1/2 xfstests: test 110 sometimes fails to unmount scratch dev
In reply to Dave ChinnerFrom: Dave Chinner <[email protected]>
It runs a bunch of rm processes inteh background, tehn immediately calls _check_scratch_fs without waiting for them to complete, hence the unmount can fail with abusy filesystem error.
--- 110 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
110 +1 -0
@@ -79,6 +79,7 @@ do rm $SCRATCH_MNT/test/${STR1}${STR2}${STR3}${I} & let I=$I+1 done +wait _check_scratch_fs
Signature · 6 lines
1.7.5.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
cover xfstests: small fixes.
A couple of simple fixes for test harness failures I'm now regularly hitting.
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
PATCH 2/2 xfstests: ln failure output has changed again
From: Dave Chinner <[email protected]>
Recent coreutils packages have changed the failure output of ln(1) (again!) to be more verbose, breaking the filter in test 103:
-ln: creating symbolic link SCRATCH_MNT/nosymlink/target' to SCRATCH_MNT/nosymlink/source': Operation not permitted +ln: failed to create symbolic link SCRATCH_MNT/nosymlink/target' to SCRATCH_MNT/nosymlink/source': Operation not permitted
Fix it.
--- 103 | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
103 +2 -1
@@ -57,7 +57,8 @@ _create_scratch() _filter_ln() { sed -e "s,SCRATCH_MNT/nosymlink/target - Operation not permitted,ln: creating symbolic link \`SCRATCH_MNT/nosymlink/target\' to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g" \ - -e "/SCRATCH_MNT.*to.*SCRATCH_MNT/! s,: Operation not permitted, to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g" + -e "/SCRATCH_MNT.*to.*SCRATCH_MNT/! s,: Operation not permitted, to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g" \ + -e "s,failed to create,creating," } _filter_noymlinks_flag()
Signature · 6 lines
1.7.5.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Re: [PATCH 1/2] xfstests: test 110 sometimes fails to unmount scratch dev
In reply to Dave ChinnerQuoted 7 lines · Dave Chinner
From: Dave Chinner <[email protected]>
It runs a bunch of rm processes inteh background, tehn immediately calls
_check_scratch_fswithout waiting for them to complete, hence the unmount can fail with abusy filesystem error.Signed-off-by Dave Chinner <[email protected]>
Looks good,
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Re: [PATCH 2/2] xfstests: ln failure output has changed again
In reply to Dave ChinnerQuoted 4 lines · Dave Chinner
From: Dave Chinner <[email protected]>
Recent coreutils packages have changed the failure output of ln(1) (again!) to be more verbose, breaking the filter in test 103:
Great..
Quoted 5 lines
(quoted diff) +1
-1-ln: creating symbolic link `SCRATCH_MNT/nosymlink/target' to `SCRATCH_MNT/nosymlink/source': Operation not permitted +ln: failed to create symbolic link `SCRATCH_MNT/nosymlink/target' to `SCRATCH_MNT/nosymlink/source': Operation not permittedFix it.
Looks good,
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs