]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
XFSQA 103: filter ln output
authorDave Chinner <dgc@sgi.com>
Wed, 26 Mar 2008 03:27:32 +0000 (03:27 +0000)
committerDave Chinner <dgc@sgi.com>
Wed, 26 Mar 2008 03:27:32 +0000 (03:27 +0000)
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.

103

diff --git a/103 b/103
index cd374e3e8368db7ae8d120eb1f2278005eefe066..26f83cefb8f4b0fa50cab6e9a2a9c79cf0f10b19 100755 (executable)
--- a/103
+++ b/103
@@ -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()