XFSQA 103: filter ln output

More recent versions of ln (version >= 6.0) have a different error
output. update the filter to handle this.
Merge of master-melb:xfs-cmds:30705a by kenmcd.

  update filter to handle new ln error output.
This commit is contained in:
Dave Chinner
2008-03-26 03:27:32 +00:00
parent 68ab50e2cb
commit d810cfac14
+2 -1
View File
@@ -47,7 +47,8 @@ _filter_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"
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 "s,: Operation not permitted, to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g"
}
_filter_noymlinks_flag()