]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
_filter_uuid: Fix output regression for btrfs/006
authorZhao Lei <zhaolei@cn.fujitsu.com>
Mon, 21 Sep 2015 03:06:17 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 03:06:17 +0000 (13:06 +1000)
_filter_uuid() get updated and changed output from:
 uuid: <UUID>
 ->
 uuid:  <UUID>

It is a typo introduced by xfs/077, this patch fixed this.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/filter
tests/xfs/077.out

index 8db1b3e47fbde61c8a21d79b806f251313adc26e..af456c93faae4420cd164c89e861536b4b4f9af0 100644 (file)
@@ -277,7 +277,7 @@ _filter_uuid()
                UUID=$1
                sed -e "s/\(uuid[ :=]\+\) $UUID/\1 <EXACTUUID>/i"
        else
-               sed -e "s/\(uuid[ :=]\+\) *[0-9a-f-][0-9a-f-]*/\1 <UUID>/ig"
+               sed -e "s/\(uuid[ :=]\+\) [0-9a-f-][0-9a-f-]*/\1 <UUID>/ig"
        fi
 }
 
index fdc7d72f9b48f2a9db1da82e2b6f7a885f45f9a9..4e18087d01d6897f4b2f1fe474b823b273cda79e 100644 (file)
@@ -2,7 +2,7 @@ QA output created by 077
 == Generate new UUID
 Clearing log and setting UUID
 writing all SBs
-new UUID =  <UUID>
+new UUID = <UUID>
 == Rewrite UUID
 old UUID = <EXACTUUID>
 Clearing log and setting UUID