xfs
[Top] [All Lists]

[PATCH] XFSQA 103: filter ln output

To: xfs-dev <xfs-dev@xxxxxxx>
Subject: [PATCH] XFSQA 103: filter ln output
From: David Chinner <dgc@xxxxxxx>
Date: Thu, 20 Mar 2008 17:32:45 +1100
Cc: xfs-oss <xfs@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Move recent versions of ln (i.e. debian unstable) have
a different error output. update the filter to handle this.

Signed-off-by: Dave Chinner <dgc@xxxxxxx>
---
 xfstests/103 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: xfs-cmds/xfstests/103
===================================================================
--- xfs-cmds.orig/xfstests/103  2006-11-14 19:57:41.000000000 +1100
+++ xfs-cmds/xfstests/103       2008-03-19 10:02:14.393358705 +1100
@@ -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()


<Prev in Thread] Current Thread [Next in Thread>