util-linux/tests
Andreas Dilger e54a76ca07 libblkid: fix ZSF detection
Fix the ZFS device detection by looking at multiple uberblocks to see
if any are present, rather than looking for the ZFS boot block which
is not always present.

There may be up to 128 uberblocks, but the first 4 are not written to
disk on a newly-formatted filesystem so check several of them at
different offsets within the uberblock array.

[kzak@redhat.com: - port e2fsprogs patch to util-linux-ng]

Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-02-17 10:23:55 +01:00
..
expected libblkid: fix ZSF detection 2010-02-17 10:23:55 +01:00
helpers include: clean up _PATH_DEV_* macros 2009-06-30 01:13:42 +02:00
ts tests: fix and update old fdisk tests 2010-02-09 16:24:51 +01:00
.gitignore
Makefile.am tests: remove obsolete stuff from Makefile.am 2009-02-20 13:10:24 +01:00
README
commands.sh.in tests: remove vol_id from tests 2009-12-04 20:30:16 +01:00
functions.sh tests: add fdisk alignment tests 2010-02-09 15:47:32 +01:00
run.sh tests: fix -regex in run.sh 2009-04-29 15:51:32 +02:00

README

 util-linux regression tests
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~

 It's expected that for each invasive change or important bugfix you will
 include a test to your patch.


 Run all tests:

	./run.sh [--verbose]

 Run one tests:

	./ts-<component_name>-<test_name>.sh [--verbose]



 *** WARNING ***

 The tests touch your /etc/fstab and /etc/blkid.tab. Please, be careful and use
 these tests only for development and never on production system.