summaryrefslogtreecommitdiffstats
path: root/tests/expected/mount
Commit message (Collapse)AuthorAgeFilesLines
* tests: don't skip case "output undefined"Ruediger Meier2016-03-072-2/+0Star
| | | | | | | | | | | | | | | | | | | | | | | | 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: add test for loop option in fstabStanislav Brabec2016-02-121-0/+1
| | | | | | | | | | Add a new fstab tests which check loop mount of the same source multiple times in multiple steps. The test is currently failing, but it should not fail once the triggering bug will be fixed. Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
* tests: add btrfs mount testsStanislav Brabec2016-02-123-0/+3
| | | | | | | | | | | | | btrfs needs a special support in mount. Add a testcase for btrfs specific problems. Coverage: 352740e8: bind mounts pointing to btrfs 2cd28fc8: mounting default subvolume d2f82678: use of "auto" 618a8814: use of "subvolid" Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
* tests: add mount -t testKarel Zak2014-07-256-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove deprecated mount testsRuediger Meier2014-06-032-13/+0Star
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add umount --all-targets testsKarel Zak2013-02-264-0/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add/improve mount shared-subtree testsKarel Zak2013-01-155-2/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add shared subtrees to umount --recursive testKarel Zak2012-11-151-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add umount --recursive testKarel Zak2012-11-151-0/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove encryption loopdev testKarel Zak2012-09-121-1/+0Star
| | | | | Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: convert tests/ to moduleKarel Zak2012-06-261-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add losetup/mount encryption testKarel Zak2012-05-281-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add tests for mount --make-* stuffKarel Zak2012-03-014-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* test: test 'none' source for mount(8)Karel Zak2012-02-281-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix mount/special to be compatible with libmountKarel Zak2012-01-121-17/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mount(8) test for fstab entries without optionsKarel Zak2011-05-113-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add test for RLIMIT_FSIZE issueKarel Zak2011-04-193-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add tests for [u]mount regular fileKarel Zak2011-02-211-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: refresh expected mount(8) outputsKarel Zak2009-02-182-2/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: create expected/$(component)/$(testname)Karel Zak2009-02-1119-0/+44
Signed-off-by: Karel Zak <kzak@redhat.com>