summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2010-06-01tests: update ipcs/headers testFrancesco Cosoleto1-8/+8
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-06-01tests: add lscpu dump from Dell R710, 8-core Nehalem w/HT (RHEL 5.5)Karel Zak2-0/+39
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-01tests: update lscpuKarel Zak6-36/+48
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-01tests: add cpuset regression testKarel Zak3-0/+82
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-05-19tests: update fdisk testsKarel Zak5-16/+16
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-05-18libblkid: improbe DDF detectionKarel Zak2-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-05-14Merge remote branch 'origin/master' into HEADLaMont Jones48-53/+1393
Conflicts: lib/fsprobe.c mount/lomount.c
2010-05-06tests: update blkid/md-raid1-* testsKarel Zak2-4/+12
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-05-06tests: add blkid test for TuxOnIceKarel Zak2-0/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-05-03tests: add blkid tests for RAID1Karel Zak5-1/+297
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-04-27tests: explicitly use --chunk and --metadata in MD testKarel Zak1-1/+2
The newer mdadm version uses a different chunk size and superblock format, so the final MD device has a different I/O limits (optimal I/O size is 1MiB for 1.20 metadata). We have to explicitly use the same format which is expected in our tests. Reported-by: Yulia Kopkova <ykopkova@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-31docs: update tests/READMEKarel Zak1-3/+8
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-31tests: added tests against strtosizeYann Droneaud2-0/+16
- test empty string, white spaces - test hexadecimal Signed-off-by: Yann Droneaud <yann@droneaud.fr>
2010-03-31tests: use POSIX localeYann Droneaud23-23/+28
Since not everyone have en_US.UTF-8 locale, default to POSIX locale. This changes default sort order, so some expected results were updated. Signed-off-by: Yann Droneaud <yann@droneaud.fr>
2010-03-30lib: add strtosize() functionKarel Zak3-0/+75
This function int strtosize(const char *str, uintmax_t *res) supports {K,M,G,T,E,P}iB and {K,M,G,T,E,P}B suffixes. Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-14tests: fix whitespacesKarel Zak4-15/+15
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-11libblkid: improve ZFS detection and add LABEL and UUID extractionAndreas Dilger1-2/+8
Improve ZFS uberblock detection to loop over multiple uberblocks, and detect at least 4 magic values, to avoid random collisions. It doesn't yet probe the VDEV LABEL at the end of the device, though it wouldn't be too hard to add it at this point if needed. Add extraction of the pool name (as LABEL), the VDEV (block device) guid as UUID_SUB, and pool_guid (volume) as UUID from the nvlist in the VDEV LABEL. Do simple sanity checking on the nvlist data values to avoid overflowing the buffer if they are corrupt in any way. [kzak@redhat.com: - use %PRIu64 instead %llu] Signed-off-by: Andreas Dilger <adilger@sun.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2010-03-11tests: update fdisk testsKarel Zak1-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-02-17libblkid: fix ZSF detectionAndreas Dilger1-1/+1
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-15tests: update fdisk testsKarel Zak4-65/+65
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-02-12tests: update fdisk testsKarel Zak1-13/+13
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-02-09tests: fix and update old fdisk testsKarel Zak4-21/+22
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-02-09tests: add fdisk alignment testsKarel Zak12-1/+923
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-02-03Merge remote branch 'origin/master'LaMont Jones1-0/+7
Conflicts: tests/ts/blkid/images-fs/adaptec-raid.img.bz2 tests/ts/blkid/images-fs/ddf-raid.img.bz2 tests/ts/blkid/images-fs/gfs2.img.bz2 tests/ts/blkid/images-fs/hpt37x-raid.img.bz2 tests/ts/blkid/images-fs/isw-raid.img.bz2 tests/ts/blkid/images-fs/jbd.img.bz2 tests/ts/blkid/images-fs/jmicron-raid.img.bz2 tests/ts/blkid/images-fs/lvm2.img.bz2 tests/ts/blkid/images-fs/nvidia-raid.img.bz2 tests/ts/blkid/images-fs/ocfs2.img.bz2 tests/ts/blkid/images-fs/promise-raid.img.bz2 tests/ts/blkid/images-fs/reiser4.img.bz2 tests/ts/blkid/images-fs/romfs.img.bz2 tests/ts/blkid/images-fs/silicon-raid.img.bz2 tests/ts/blkid/images-fs/swap0.img.bz2 tests/ts/blkid/images-fs/swap1.img.bz2 tests/ts/blkid/images-fs/via-raid.img.bz2 tests/ts/blkid/images-fs/vmfs_volume.img.bz2 tests/ts/blkid/images-fs/zfs.img.bz2
2010-02-02tests: add BeFS test imageKarel Zak2-0/+7
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-01-19tests: update FS test imagesKarel Zak7-0/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-01-18tests: fix RAIDs testsKarel Zak12-0/+0
- test images was too small (limit is 1474560 bytes) Signed-off-by: Karel Zak <kzak@redhat.com>
2010-01-18Merge commit 'v2.17'LaMont Jones6-0/+6
2010-01-07tests: refresh lscpu testsKarel Zak6-0/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-22changelog: releaseLaMont Jones43-0/+0
2009-12-21Merge remote branch 'origin/master'LaMont Jones18-0/+23
2009-12-15tests: add silicon RAID testKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add promise RAID testKarel Zak2-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add nvidia RAID testKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add lsi RAID testKarel Zak2-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add jmicron RAID testKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add isw RAID testKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add hpt45x RAID testKarel Zak2-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add hpt37x RAID testKarel Zak2-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-15tests: add adaptec RAID testKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-06drop images notin upstream tarballLaMont Jones2-0/+0
2009-12-04tests: remove vol_id from testsKarel Zak13-66/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-02tests: add UFS test image for libblkidKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-12-02tests: add VIA RAID test image for libblkidKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-11-18fdisk: print info and recommendations about alignmentKarel Zak1-0/+1
* inform user that phy.sector > log.sector * warn user when alignment_offset is not provided does, DOS-compatible mode is enabled and the default geo.sectors are not aligned * suggest to change display units to sectors (oh yes, fdisk default are cylinders...) Signed-off-by: Karel Zak <kzak@redhat.com>
2009-11-16tests: add NTFS blkid testKarel Zak2-0/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-11-02fdisk: add regression test listing empty/nonsense imagesZdenek Behan3-0/+52
Signed-off-by: Zdenek Behan <rain@matfyz.cz>
2009-10-30tests: refresh GPT regression testKarel Zak1-5/+5
The n+1 change has been introduced by commit 4c8e837230bb96dc3c447706d9c3b11e4167ba13. Signed-off-by: Karel Zak <kzak@redhat.com>
2009-10-26libblkid: add test cases for VMFSMike Hommey4-0/+14
Signed-off-by: Mike Hommey <mh@glandium.org>
2009-10-15tests: update fsck.ismounted testKarel Zak1-1/+1
The latest version of the lib/test_ismounted binary returns absolute mountpoint path too. This patch removes the path from test output (the path is variable). Signed-off-by: Karel Zak <kzak@redhat.com>