Whamcloud - gitweb
blkid: Make regression test tolerate older versions of mkswap
authorAndreas Dilger <adilger@sun.com>
Tue, 8 Jul 2008 05:37:34 +0000 (23:37 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 10 Jul 2008 12:52:50 +0000 (08:52 -0400)
commit3fc1db6218f885b5f0a50084f4634f7b793d638f
tree3d553437db55485a34ef757aebecd7d6c9e6d36c
parent96099115d44ae9ee14ab829373796f9c81cd3606
blkid: Make regression test tolerate older versions of mkswap

The blkid/tests contains new tests for swap, but the type-1 swapfile
test depends on mkswap supporting the "-U" option to specify the UUID.
This is not available even on relatively recent versions of mkswap
(2.13.1 16-Jan-2008) so the test needs to be changed to handle this.
If the "-U" option is not supported, don't verify the UUID in the blkid
output during testing.

Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/test_probe.in