summaryrefslogtreecommitdiff
path: root/tests/ts/fdisk
AgeCommit message (Collapse)AuthorFilesLines
2013-10-23tests: test corruted GPT headersKarel Zak1-1/+14
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-25ORIG_HEADKarel Zak1-1/+1
tests: update sun label test * add fdisk -l outputs (to make the test more usable) * use more usable geometry * don't expect that 'create sun label' oprations asks for C/H/S (we follows fdisk_context defaults) Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-25libfdisk: (sun) make it more obvious why the first sector movedKarel Zak1-10/+25
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-18tests: refresh fdisk testsKarel Zak6-57/+49
2013-04-12tests: consolidate scsi_debug usageKarel Zak4-56/+12
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12tests: use udevadm settle rather than sleepKarel Zak4-5/+8
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: update aks-partition-number dialog (planned regression)Karel Zak1-1/+1
Since 2.23 the fdisk ask-partition-number dialog don't ask for partition number if there is only one partition. This was default in DOS driver, now it's default everywhere. For Sun/BSD it's regression... but we don't want to maintain any extra code --- sorry --- we don't want any exception in the code. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: update 'odd input' fdisk testKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: fix typo in fdisk testKarel Zak2-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: ignore stderr in fdisk -lKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-06tests: add fdisk GPT testKarel Zak1-0/+84
Note that the test does not check on-disk data (by checksum) because the current fdisk does not allow to modify automatically generated partition and disk UUIDs. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-06tests: add fdisk BSD testKarel Zak1-0/+106
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-01tests: standardize fdisk headers in MBR testsKarel Zak2-3/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31tests: add non-dos mode fdisk testKarel Zak1-0/+135
2012-07-31tests: add layout info to dos mode testKarel Zak1-0/+33
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31tests: rename doslabel testKarel Zak2-2/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-21fdisk: tests: update oddinput testDavidlohr Bueso1-2/+3
Adding mbr to the API breaks this test, specifically when reading the first 512 bytes of the MBR, update the expected output for oddinput.toosmall. Also let the test create and remove the test file instead of having it in the expected directory. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-08-30tests: add ts_fdisk_clean function to make fdisk output comparableFrancesco Cosoleto5-19/+5
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-08-17tests: grammar fixesDavidlohr Bueso4-4/+4
Trivial change, "Cannot found" to "Cannot find". Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-24tests: ignore device name used in some fdisk and blkid testsFrancesco Cosoleto4-4/+8
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2010-11-30rename util-linux-ng back to util-linuxKarel Zak9-9/+9
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-08-09fdisk: update MBR after ID changeKarel Zak1-0/+37
Reported-by: Bernard Pidoux <bpidoux@free.fr> Signed-off-by: Karel Zak <kzak@redhat.com>
2010-06-16tests: update fdisk testsKarel Zak7-26/+14
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-02-09tests: fix and update old fdisk testsKarel Zak3-21/+21
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-02-09tests: add fdisk alignment testsKarel Zak5-0/+451
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-11-02fdisk: add regression test listing empty/nonsense imagesZdenek Behan1-0/+39
Signed-off-by: Zdenek Behan <rain@matfyz.cz>
2009-08-17tests: test for basic functionality of sun labelsZdenek Behan1-0/+74
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>
2009-08-17tests: fdisk doslabel test also checks setting partition activeZdenek Behan1-0/+6
* Yet another test, this time for setting active partition Signed-off-by: Zdenek Behan <rain@matfyz.cz>
2009-08-17tests: fdisk doslabel test also checks changing partition typeZdenek Behan1-9/+20
* 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>
2009-05-19fdisk: add simple test for doslabel stuffZdenek Behan1-0/+82
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>