summaryrefslogtreecommitdiffstats
path: root/tests/ts/sfdisk
Commit message (Collapse)AuthorAgeFilesLines
* tests: add udevadm settle to sfdisk/resizeRuediger Meier2018-02-151-0/+1
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: check sfdisk resize on unsorted offsetsKarel Zak2017-07-191-0/+28
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: explicitly define wipefs outpuit columnsKarel Zak2017-06-291-5/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add MBR resize testsKarel Zak2017-06-191-0/+67
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: another improvement to the sfdisk wipe testKarel Zak2017-02-201-13/+5Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: make sfdisk wipe partition optionalKarel Zak2017-02-171-4/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: (sfdisk) tell kernel about new partitionKarel Zak2017-02-171-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add udevadm settle to sfdisk wipeKarel Zak2017-02-161-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use swap in sfdisk wipe testKarel Zak2017-02-161-4/+5
| | | | | | and add "udevadm settle". Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk --wipe and --wipe-partition testsKarel Zak2017-02-151-0/+101
| | | | | | Addresses: https://github.com/karelzak/util-linux/issues/410 Addresses: https://github.com/karelzak/util-linux/issues/411 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk script case-insensitive testKarel Zak2016-10-261-0/+14
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: let's follow ts_scsi_debug_rmmodKarel Zak2016-10-251-2/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Merge branch 'test-rmmod-scsi_debug' of https://github.com/rudimeier/util-linuxKarel Zak2016-10-254-5/+0Star
|\ | | | | | | | | * 'test-rmmod-scsi_debug' of https://github.com/rudimeier/util-linux: tests: consolidate rmmod scsi_debug
| * tests: consolidate rmmod scsi_debugRuediger Meier2016-10-214-5/+0Star
| | | | | | | | | | | | | | | | | | - auto cleanup on test exit - Add smart timeout: Newer openSUSE systems on OBS failed to rmmod almost always. udevadm settle does not seem to have any affect. - now tests will fail if rmmod fails Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* | tests: add another sfdisk script testsKarel Zak2016-10-251-0/+108
| | | | | | | | | | Addresses: https://github.com/karelzak/util-linux/issues/367 Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add sfdisk Type= and Id= testKarel Zak2016-10-251-0/+52
| | | | | | | | | | Addresses: https://github.com/karelzak/util-linux/issues/367 Signed-off-by: Karel Zak <kzak@redhat.com>
* | tests: add GPT attributes parser testsKarel Zak2016-10-251-0/+38
|/ | | | | Addresses: https://github.com/karelzak/util-linux/issues/367 Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: Fix typo RequiredPartiton -> RequiredPartitionSebastian Rasmussen2016-05-311-1/+9
| | | | | | | | This typo fix is backwards compatible in that fdisk will accept both the GPT attribute RequiredPartition and RequiredPartiton with the typo. Update documentation and tests to all use the new attribute name. Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
* tests: don't depend on GNU md5sumRuediger Meier2016-04-131-2/+3
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: use sfdisk --no-reread wherever it's neededRuediger Meier2016-01-054-12/+13
| | | | | | | | The first BLKRRPART ioctl causes udev events and then second one may fail, see Discussion http://comments.gmane.org/gmane.linux.utilities.util-linux-ng/11885 Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: skip nonroot before checking for progs in PATHRuediger Meier2015-12-101-0/+1
| | | | | | | | | | The least annoying and most useful order is this one: 1. check for compiled UL commands 2. check for root 3. check for loop support 4. check for external progs Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add sfdisk --move-data testKarel Zak2015-09-091-0/+74
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* sfdisk: add --reorderKarel Zak2015-09-071-1/+21
| | | | | Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1232707 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add udevadm settleKarel Zak2015-07-241-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add JSON sfdisk dumpsKarel Zak2015-06-152-0/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add hexdump from GPTKarel Zak2015-05-111-0/+6
| | | | | | | | * use hardcoded UUIDs for partitions in sfdisk GPT test * output hexdump of the GPT header (it would be possible to use MD5 sum, but from hexdump it's more obvious where is problem) Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix sfdisk GPT testKarel Zak2015-04-231-1/+1
| | | | | | | The test uses too large last partition, libfdisk checks this problem now. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk resize tests for GPTKarel Zak2015-04-231-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk resize regression tests for MBRKarel Zak2015-04-221-0/+124
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add old dump for sfdiskKarel Zak2015-04-164-2/+36
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk resize testsKarel Zak2015-04-132-0/+28
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: require wipefs for sfdisk/gptKarel Zak2015-04-131-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: don't hardcode devnamesKarel Zak2015-02-031-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: check for wipefs and helpers in fdisk testsKarel Zak2014-10-151-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add PMBR sfdisk testKarel Zak2014-10-131-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk GPT testsKarel Zak2014-10-101-0/+106
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: test cazy sizes for sfdiskKarel Zak2014-10-091-0/+21
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update sfdisk testsKarel Zak2014-10-091-6/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk testKarel Zak2014-10-071-0/+90
Signed-off-by: Karel Zak <kzak@redhat.com>