xfs
[Top] [All Lists]

[PATCH] xfstests: add missing colon in _filter_ln

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: add missing colon in _filter_ln
From: Eryu Guan <eguan@xxxxxxxxxx>
Date: Wed, 29 May 2013 23:41:46 +0800
Cc: Eryu Guan <eguan@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
On distros with older coreutils(eg. RHEL5) generic/294 fails like

    -ln: creating symbolic link `SCRATCH_MNT/294.test/testlink': File exists
    +ln: creating symbolic link `SCRATCH_MNT/294.test/testlink'File exists

_filter_ln ate the ": ". xfs/103 has similar issue. Add ": " back.

Signed-off-by: Eryu Guan <eguan@xxxxxxxxxx>
---
 common/filter | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/filter b/common/filter
index bdd6427..dbb1674 100644
--- a/common/filter
+++ b/common/filter
@@ -243,7 +243,7 @@ _filter_spaces()
 # Account for different "ln" failure messages
 _filter_ln()
 {
-       sed -e "s,\(creating symbolic link .*\) to .*: ,\1," \
+       sed -e "s,\(creating symbolic link .*\) to .*: ,\1: ," \
            -e "s,failed to create,creating,"
 }
 
-- 
1.8.2.1

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