summaryrefslogtreecommitdiffstats
path: root/tests/ts/libmount
Commit message (Collapse)AuthorAgeFilesLines
* tests: consolidate scsi_debug usageKarel Zak2013-04-123-50/+25Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use udevadm settle rather than sleepKarel Zak2013-04-123-11/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add support for x-mount.mkdir[=<mode>] optionOndrej Oprala2013-01-091-0/+10
| | | | | | | | | If the target directory (mountpoint) does not exist then mount(8) will create it before mount.<type> is executed or mount(2) syscall is called. Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add private mnt_get_kernel_cmdline_option()Karel Zak2012-11-082-0/+10
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount optstr deduplicateKarel Zak2012-08-011-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: wait a moment between mount and umountKarel Zak2012-03-021-0/+8
| | | | | | | | It seems that without sleep between mount and umount are the test unstable, because kernel is not able to provide updated /proc/self/mountinfo so quickly (really?). Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: test non-canonical paths in fstabKarel Zak2012-02-242-0/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add valgrind to libmount context utab testsKarel Zak2012-01-261-6/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add valgrind to libmount context testsKarel Zak2012-01-261-11/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add valgrind to libmount lock testsKarel Zak2012-01-261-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add valgrind to libmount tabdiff testsKarel Zak2012-01-261-4/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add valgrind to libmount tags eval. testsKarel Zak2012-01-261-6/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add valgrind to libmount tab parse testKarel Zak2012-01-261-8/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: call valgrind from libmount utils and update testsKarel Zak2012-01-262-38/+38
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: call valgrind from libmount optstr testKarel Zak2012-01-261-19/+19
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add loopdev libmount testKarel Zak2011-09-291-0/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: grammar fixesDavidlohr Bueso2011-08-171-2/+2
| | | | | | Trivial change, "Cannot found" to "Cannot find". Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* grammar fixesDavidlohr Bueso2011-08-152-9/+9
| | | | | | Correct grammar from "cannot found" to "cannot find". Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* tests: add -o remount to libmount testsKarel Zak2011-07-251-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add 'none' source to libmount update testsKarel Zak2011-07-211-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add mnt_tabdiff_* functionsKarel Zak2011-04-264-0/+126
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add support for x-* mount commentsKarel Zak2011-04-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | The current way how add any comment or extra information to /etc/fstab is to use comment="" mount option. This is not too elegant and readable if you want to add more than one comment. It seems better to add any generic prefix that will be used for all 3rd-party userspace mount options. Expected syntax is: x-<application>-<options>[=<data>] For example: x-systemd-bar=managed All x-* options (as well as comment=) are ignored by libmount and not stored to the mtab file. Requested-by: Lennart Poettering <lennart@poettering.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use libmount tab update tests for UID=0 onlyKarel Zak2011-04-191-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update libmount tests (add optstr output)Karel Zak2011-02-231-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix libmount testKarel Zak2011-02-091-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: skip non-compiled libmount testsKarel Zak2011-01-258-0/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount utab testsKarel Zak2011-01-031-0/+115
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: minor fixesKarel Zak2011-01-031-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: remove utab from API, update testsKarel Zak2011-01-031-0/+2
| | | | | | | The utab file is private libmount stuff. Anything about utab should not be exported by library API. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: improve libmount context mount and umount testKarel Zak2011-01-032-83/+111
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add basic libmount tests for mountingKarel Zak2011-01-032-3/+84
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add utab update testsKarel Zak2011-01-031-2/+34
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: fix Makefile and testsKarel Zak2011-01-031-7/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount mtab update testKarel Zak2011-01-031-0/+64
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add quoted optstrKarel Zak2011-01-031-1/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount lock testKarel Zak2011-01-031-0/+37
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount utils.c testsKarel Zak2011-01-034-3/+81
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount tags testsKarel Zak2011-01-031-0/+92
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount mtab testsKarel Zak2011-01-032-0/+21
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount tab_parse.c testsKarel Zak2011-01-034-0/+101
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libmount optstr.c testsKarel Zak2011-01-031-0/+85
Signed-off-by: Karel Zak <kzak@redhat.com>