]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/077: fix test for userspace meta_uuid support
authorEric Sandeen <sandeen@sandeen.net>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 03:06:18 +0000 (13:06 +1000)
commitc0fbe33b3e36a8ff58c2352cc4e5324a44109be6
treecbe3415d6a54835d2a795ef3780b819dc91e2d8b
parent6c5493bd58655e65e82007bbe30eb82a3344ddd9
xfs/077: fix test for userspace meta_uuid support

The current _require_meta_uuid() test looks for a failure return
code from xfs_db -x -c "uuid generate" but in fact this exits
with success.  (In fact uuid_f always exits with success; perhaps
this needs fixing, but that's in the wild now).

So grep for the string(s) stating that it failed, instead.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc