summaryrefslogtreecommitdiffstats
path: root/tests/expected/minix
Commit message (Collapse)AuthorAgeFilesLines
* disk-utils/mkfs.minix: Set ninodes after checking maxNate Clark2017-01-041-0/+9
| | | | | | | | | | | ninodes in the superblock needs to be set after inodes is checked against MINIX_MAX_INODES otherwise a value larger than MINIX_MAX_INODES can be attempted to be stored in the superblock. Without this change the command "mkfs.minix -2 -i 65530 <dev>" would write a minix superblock with ninodes set to 0. Signed-off-by: Nate Clark <nate@neworld.us>
* tests: don't skip case "output undefined"Ruediger Meier2016-03-071-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: minix, add a useful non-root checkRuediger Meier2016-03-031-2/+364
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix minix tests for big endianRuediger Meier2016-03-037-0/+211
| | | | | | | You may diff the new .BE files with non-BE file to see whether they look fine. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* mkfs.minix: fix v2/v3 .badblocks inode number for big endianRuediger Meier2016-03-036-13/+2Star
| | | | | | | | | | | | | | For minix v2/v3 on big endian systems the inode number of the unwanted ".badblocks" file was not set to zero. This was introduced when v3 was added in a2657ae3. Actually it did not seem to cause any problems but since we zero it out at all we should do it correctly. Now we zero out the whole directory entry (inclusive ".badblocks" file name, also for v1). Unfortunately we have to update the test data checksums. CC: Davidlohr Bueso <davidlohr@hp.com> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: minix, some corrections and cleanupRuediger Meier2016-03-034-3/+38
| | | | | | | | | | | | - move generic "check_minix_fs_type" tests to the top - add some todos/notes about potential issues - add "real" badblocks test (-l) - don't check sed's but fsck's return value - to see debian bug 773892 we would need "-f" - add some more hexdumps CC: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: minix, use hexdump instead of md5sumRuediger Meier2016-03-037-7/+166
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix minix tests filenamesKarel Zak2015-08-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: try mkfs & mount all supported minix versionsKarel Zak2015-08-036-10/+45
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix minix testKarel Zak2015-08-036-6/+6
| | | | | | | | | - run the test with UID=0 only. The minix FS inode contains UID and GID, so the final image checksum depends on user... - always use subtest name for the images Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add fsck.minix checksSami Kerola2015-08-039-0/+93
| | | | | | | The debian bug was fixed in commit 730ae9c89971, and the rest are about having test coverity for various file name lenghts and minix fs versions. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: cleanup ts/minixKarel Zak2009-02-182-0/+18
Signed-off-by: Karel Zak <kzak@redhat.com>