summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk
Commit message (Collapse)AuthorAgeFilesLines
* tests: update sfdisk output stringsKarel Zak2016-09-019-16/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: Fix typo RequiredPartiton -> RequiredPartitionSebastian Rasmussen2016-05-312-1/+1111
| | | | | | | | 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>
* sfdisk, fdisk: add fflush()Karel Zak2016-03-103-10/+10
| | | | | | | Let's add fflush(stdout) before we print to stderr to make output order more deterministic. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: don't skip case "output undefined"Ruediger Meier2016-03-073-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Treat missing expected files as empty and let the test fail if there is non-empty output. Expected output may be missing in these cases: 1. forgot to commit the file after changing/adding a (sub)test 2. a bug in a test where we do tricks with TS_EXPECTED 3. and most notable if ts_die() is called before a subtest is initialized, e.g. in ts_scsi_debug_init() I always wondered why we don't treat this as FAILED. Now we do so, ts_finalize and ts_gen_diff looks much cleaner now. The change discovers that tests with subtest were ignoring the "non-sub" expected files which had to be fixed. BTW we removed any zero sized files. Moreover now we respect diff's return value. In past all test succeeded when diff was not able to write to diffdir, e.g. when running tests as normal user after they run as root. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: ts_fdisk_clean(), remove optimal iosizeRuediger Meier2016-02-1044-46/+46
| | | | | | | | It's a pity a pity that we have to remove it. In past our test suite could discover a kernel bug (4.4). But now they've changed optimal iosizes on purpose. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: use sfdisk --no-reread wherever it's neededRuediger Meier2016-01-0533-66/+0Star
| | | | | | | | 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: sfdisk/gpt-reorder, add missing resultsRuediger Meier2015-12-101-0/+45
| | | | | | follow-up 9a17d946 Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add sfdisk --move-data testKarel Zak2015-09-093-0/+81
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add JSON sfdisk dumpsKarel Zak2015-06-152-0/+32
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add hexdump from GPTKarel Zak2015-05-111-0/+1105
| | | | | | | | * 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-232-3/+3
| | | | | | | 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-2314-0/+358
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk resize regression tests for MBRKarel Zak2015-04-2215-0/+358
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add old dump for sfdiskKarel Zak2015-04-162-0/+47
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk resize testsKarel Zak2015-04-132-0/+46
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update sfdisk --dump testKarel Zak2015-03-111-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: don't hardcode devnamesKarel Zak2015-02-031-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update fdisk testsKarel Zak2014-11-073-0/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add PMBR sfdisk testKarel Zak2014-10-131-0/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk GPT testsKarel Zak2014-10-108-0/+93
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: test cazy sizes for sfdiskKarel Zak2014-10-091-0/+31
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update sfdisk testsKarel Zak2014-10-095-82/+94
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add sfdisk testKarel Zak2014-10-076-0/+98
Signed-off-by: Karel Zak <kzak@redhat.com>