Skip to contentSkip to conversation

XFSQA 103: filter ln output

PATCH In review David Chinner 3 participants 3 messages Mar 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 XFSQA 103: filter ln output

Move recent versions of ln (i.e. debian unstable) have a different error output. update the filter to handle this.

---
 xfstests/103 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
xfstests/103 +2 -1
Index: xfs-cmds/xfstests/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()
#1 lore raw
Quoted 2 lines · David Chinner

Move recent versions of ln (i.e. debian unstable) have a different error output. update the filter to handle this.

Looks good.

#2 lore raw
In reply to David Chinner
Quoted 4 lines · David Chinner

Move recent versions of ln (i.e. debian unstable) have a different error output. update the filter to handle this.

Fixes the failure I reported few days ago.

Josef 'Jeff' Sipek.

Signature · 4 lines
Real Programmers consider "what you see is what you get" to be just as bad a
concept in Text Editors as it is in women. No, the Real Programmer wants a
"you asked for it, you got it" text editor -- complicated, cryptic,
powerful, unforgiving, dangerous.