summaryrefslogtreecommitdiffstats
path: root/tests/ts/fdisk/bsd
Commit message (Collapse)AuthorAgeFilesLines
* tests: keep 'hppa' in fdisk/bsd test tooKarel Zak2016-08-161-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: really fix fdisk/bsd for hppaHelge Deller2016-08-161-1/+1
| | | | | | | | | | | Finally fix the bsd testcase on the hppa architecture. Commit 1b7be556e553cdcef6213ead6340832c306011ed tried to fix it, but missed the fact that "uname -m" returns "parisc" or "parisc64" instead of "hppa*". Signed-off-by: Helge Deller <deller@gmx.de> Cc: 827225@bugs.debian.org
* tests: remove deprecated md5sum based fdisk/bsd testRuediger Meier2016-04-061-3/+3
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix fdisk/bsd for hppaRuediger Meier2016-04-061-1/+2
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add new fdisk bsd testKarel Zak2016-03-161-0/+140
| | | | | | | | | | | | | New BDS test based on hexdump, this commit provides: bsd_0_64.BE - generated on ppc64 bsd_0_64.LE - generated on ppc64le bsd_1_0.LE - generated on x86_64 bsd_1_0.BE - generated on s390 the last missing is Alpha where all is different :-) Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: mark old bsd fdisk test as deprecatedKarel Zak2016-03-161-149/+0Star
| | | | | | | | | | It seems better to use hexdump rather than md5sum, but it means that we have to gather hexdumps of the all possible BSD variants. For this purpose will be introduced a new bsd fdisk test and to verify the new hexdumps we can use this old test as both tests are exactly the same. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix fdisk/bsd for alphaRuediger Meier2016-03-161-1/+10
| | | | | | | | | | | | There are special __alpha__ ifdefs in libfdisk/src/bsd.c Regarding 565964a9 and a80886e9. BTW it was a bad idea to use md5sum. In case of failure it would be much easier to debug hexdump diffs. Now it's nearly impossible to collect all these exotic hexdumps. CC: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* docs: fix typos found by codespellRuediger Meier2016-02-031-1/+1
| | | | | | Using "codespell" from https://github.com/lucasdemarchi/codespell Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix fdisk/bsd for ppc64leRuediger Meier2015-03-131-2/+2
| | | | | | | | | | | | Actually Aurelien's patch a80886e9 should have addressed this already because it's the case LE, BSD_LABELSECTOR = 0, BSD_LABELOFFSET = 64. I've asked about this on mailing list but couldn't get more informations. Thread "test fdisk/bsd on exotic archs": http://comments.gmane.org/gmane.linux.utilities.util-linux-ng/10621 Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: improve readability for fdisk/bsdRuediger Meier2015-03-131-6/+10
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix fdisk/bsd again for big endianRuediger Meier2015-01-261-1/+1
| | | | | | Looks this line was accidentally out-commented in 06d199e8. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: check for wipefs and helpers in fdisk testsKarel Zak2014-10-151-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update bsd testKarel Zak2014-10-141-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update fdisk formattingKarel Zak2014-10-141-2/+2
| | | | | | | fdisk --list does no more use extra linebreak (\n) before and after partition table entries. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix fdisk/bsd for the two possible sectors/offsetsAurelien Jarno2014-08-201-8/+25
| | | | | | | | | | | | | | | | | | | | BSD disklabels depend on the endianess, but also on the architecture as one can see in include/pt-bsd.h with the BSD_LABELSECTOR and BSD_LABELOFFSET #define. This cause the testsuite to fail on the affected architectures as the disk image is not the same as the expected result. Commit 180b3a7e tried to fix the endianess, but the special PowerPC case has been chosen as a reference, so it still fails for example on MIPS BE or S/390. This patch fixes the testsuite by converting the md5sums to the expected values, still depending on the endianess, but also for the two possible sectors/offsets. This has been tested on Alpha, MIPS, PowerPC and x86-64, so this should cover all 4 cases. Cc: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* tests: fix fdisk/bsd for big endian systemsRuediger Meier2014-06-091-0/+12
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: check commands needed for running a test existSami Kerola2014-03-071-1/+3
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: avoid executing dirname(1) commandSami Kerola2014-02-171-1/+1
| | | | | | Bash parameter expansion does the same thing. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: refresh fdisk testsKarel Zak2013-09-181-6/+4Star
|
* tests: add fdisk BSD testKarel Zak2013-03-061-0/+106
Signed-off-by: Karel Zak <kzak@redhat.com>