summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* fdisk: add regression test listing empty/nonsense imagesZdenek Behan2009-11-023-0/+52
| | | | Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* tests: refresh GPT regression testKarel Zak2009-10-301-5/+5
| | | | | | | The n+1 change has been introduced by commit 4c8e837230bb96dc3c447706d9c3b11e4167ba13. Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add test cases for VMFSMike Hommey2009-10-264-0/+14
| | | | Signed-off-by: Mike Hommey <mh@glandium.org>
* tests: update fsck.ismounted testKarel Zak2009-10-151-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>
* tests: swapon workaround for libtool wrapperKarel Zak2009-10-135-6/+12
| | | | | | | | | | The swapon command behaviour depends on program name (argv[0] = swapon | swapoff). It means we cannot use the libtool wrapper script in our regression tests. It seems better to call the binaries directly with proper LD_LIBRARY_PATH. This is probably less portable, but good enough for our tests. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add BFS libblkid regression testKarel Zak2009-10-062-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add UBIFS test image to blkid test suiteCorentin Chary2009-09-242-0/+5
| | | | | Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add blkid regression tests for ISO9660Karel Zak2009-09-246-0/+14
| | | | | | Note that Rock-Ridge detection is not supported yet. Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: add blkid_partition_get_type_string()Karel Zak2009-09-171-5/+5
| | | | | | | .. because for example Mac and GPT don't use numbers, but strings or UUIDs as partition type identifier. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add partitions probing testKarel Zak2009-09-1613-4/+74
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: rename blkid/images to blkid/images-fsKarel Zak2009-09-1627-4/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: test for basic functionality of sun labelsZdenek Behan2009-08-172-0/+90
| | | | | | | | | Tests the following: * Creation and deletion of first two partitions * setting sysid to one (randomly chosen) value * setting readonly/mountable flags Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* tests: fdisk doslabel test also checks setting partition activeZdenek Behan2009-08-172-0/+8
| | | | | | * Yet another test, this time for setting active partition Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* tests: fdisk doslabel test also checks changing partition typeZdenek Behan2009-08-172-9/+24
| | | | | | | | | | | * Changed apostrophes around test commands to quotes, this makes vim syntax highlighting more happy, and makes the newlines stand out. * Added check for changing partition type. After the change is done and checked, the partition is deleted and re-created to not mess with the other md5's already in place... Signed-off-by: Zdenek Behan <rain@matfyz.cz>
* blkid: move to misc-utils/ directoryKarel Zak2009-07-021-1/+1
| | | | | | | The others utilities are in one of the top-level directories. That's confusing to have blkid(8) and findfs(8) in shlibs/ tree. Signed-off-by: Karel Zak <kzak@redhat.com>
* include: clean up _PATH_DEV_* macrosKarel Zak2009-06-302-2/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix script that creates lscpu dumpsKarel Zak2009-05-271-21/+12Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move lscpu /proc and /sys dumps to tarballsKarel Zak2009-05-271207-2523/+11Star
| | | | | | It's easy to maintain few tarballs that tons of files. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove broken Xen dumps for lscpuKarel Zak2009-05-2732-111/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: don't run some mount tests for non-root usersKarel Zak2009-05-273-3/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix reiserfs testKarel Zak2009-05-271-1/+1
| | | | | | For more details see 5b3f8e4f961298a9ca296f8362a717c1a4dd2ee0. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mdraid libblkid testKarel Zak2009-05-272-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix 'delete extended partition' checksumKarel Zak2009-05-221-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: add simple test for doslabel stuffZdenek Behan2009-05-193-1/+101
| | | | | | | | | | | | Initial tests/fdisk patch to test most of the doslabel-related stuff. Coverage of dos-related functions is about 60%, does not test the verify/fix-PT code. [kzak@redhat.com: - fix test design to match to output/expect/diff idea] Signed-off-by: Zdenek Behan <rain@matfyz.cz> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add functions for work withdisk imagesKarel Zak2009-05-191-5/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: complete /libs to /shlibs renameKarel Zak2009-05-141-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix -regex in run.shKarel Zak2009-04-291-2/+2
| | | | | Reported-by: Scott James Remnant <scott@ubuntu.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add ZSF testKarel Zak2009-04-032-0/+3
| | | | | | Thanks to Andreas Dilger. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix typo in lscpu testKarel Zak2009-03-171-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix file name is too long (max 99) - gtarKarel Zak2009-03-171231-3/+3
| | | | | | | gtar: util-linux-ng-2.15-rc1/tests/ts/lscpu/proc-dumps/i386-dellpe700/sys/devices/system/cpu/cpu1/topology/: file name is too long (max 99); not dumped Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: disable blkid tests when blkid(8) is not compiledKarel Zak2009-03-161-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove obsolete stuff from Makefile.amKarel Zak2009-02-201-57/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: refresh expected mount(8) outputsKarel Zak2009-02-182-2/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: disable suid mount testKarel Zak2009-02-181-7/+12
| | | | | | Unfortunately, libtool wrapper cannot be suid... Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: refresh ipcs expected outputsKarel Zak2009-02-181-19/+19
| | | | | | | Unfortunately, the last rebase in the topic/blkid branch has removed tailing white spaces. Grrr... Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: refresh cal(1) expected outputsKarel Zak2009-02-183-38/+38
| | | | | | | Unfortunately, the last rebase in the topic/blkid branch has removed tailing white spaces. Grrr... Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: we needn't blkid.shKarel Zak2009-02-181-1/+1
| | | | | | after "libtoolization" we needn't extra blkid.sh wrapper Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: chmod -x ts/lscpu/mk-input.shKarel Zak2009-02-181-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/md5Karel Zak2009-02-183-11/+6Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/minixKarel Zak2009-02-184-12/+7Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup lscpu reg.testsKarel Zak2009-02-181253-42/+16Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/cramfs/mkfs-endiannessKarel Zak2009-02-182-7/+5Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/cramfs/fsck-endiannessKarel Zak2009-02-184-9/+7Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/bitopsKarel Zak2009-02-182-5/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add fsck:ismounted reg.testKarel Zak2009-02-183-0/+48
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix typo in low-probe testKarel Zak2009-02-111-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add lvm2 reg.testKarel Zak2009-02-112-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add GFS2 reg. testKarel Zak2009-02-112-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add reg.tests for HFS and HFS+Karel Zak2009-02-114-0/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add vol_id call to blkid regression testKarel Zak2009-02-111-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>