xfstests: add missing colon in _filter_ln
authorEryu Guan <eguan@redhat.com>
Wed, 29 May 2013 19:42:09 +0000 (14:42 -0500)
committerRich Johnston <rjohnston@sgi.com>
Wed, 29 May 2013 19:42:09 +0000 (14:42 -0500)
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@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
common/filter

index bdd6427052da584284a56357bec8f5723532dede..dbb167428fac5f17a9bf717fb5d4402647d638d7 100644 (file)
@@ -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,"
 }