summaryrefslogtreecommitdiff
path: root/tests/ts/libmount
AgeCommit message (Collapse)AuthorFilesLines
2014-01-06tests: libmount: skip tabfiles-py when pylibmount is disabledMike Frysinger1-0/+2
The default configure disables python support, so this test fails by default. Add a simple check for module availability. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-10-08tests: use 'btrfs' rather than 'btrfsctl'Karel Zak2-4/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-25tests: remove remaining set -xKarel Zak1-6/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-20pylibmount: rewrite to be py2/py3 universalOndrej Oprala5-42/+48
Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-26tests: minor changes to make tests more portableKarel Zak2-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-19tests: consolidate Py tests initializationKarel Zak4-14/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-19pylibmount: add regression testsOndrej Oprala5-0/+452
Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-07-03libmount: add functions to safely replace a fs tableOndrej Oprala1-0/+12
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2013-07-03libmount: add functions to handle comments in fs tablesOndrej Oprala2-0/+27
Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12tests: consolidate scsi_debug usageKarel Zak3-50/+25
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12tests: use udevadm settle rather than sleepKarel Zak3-11/+15
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-09mount: add support for x-mount.mkdir[=<mode>] optionOndrej Oprala1-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>
2012-11-08libmount: add private mnt_get_kernel_cmdline_option()Karel Zak2-0/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-01tests: add libmount optstr deduplicateKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-02tests: wait a moment between mount and umountKarel Zak1-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>
2012-02-24tests: test non-canonical paths in fstabKarel Zak2-0/+12
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: add valgrind to libmount context utab testsKarel Zak1-6/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: add valgrind to libmount context testsKarel Zak1-11/+11
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: add valgrind to libmount lock testsKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: add valgrind to libmount tabdiff testsKarel Zak1-4/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: add valgrind to libmount tags eval. testsKarel Zak1-6/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: add valgrind to libmount tab parse testKarel Zak1-8/+8
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: call valgrind from libmount utils and update testsKarel Zak2-38/+38
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-26tests: call valgrind from libmount optstr testKarel Zak1-19/+19
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-09-29tests: add loopdev libmount testKarel Zak1-0/+12
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-08-17tests: grammar fixesDavidlohr Bueso1-2/+2
Trivial change, "Cannot found" to "Cannot find". Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-08-15grammar fixesDavidlohr Bueso2-9/+9
Correct grammar from "cannot found" to "cannot find". Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-07-25tests: add -o remount to libmount testsKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-07-21tests: add 'none' source to libmount update testsKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-04-26libmount: add mnt_tabdiff_* functionsKarel Zak4-0/+126
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-04-21libmount: add support for x-* mount commentsKarel Zak1-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>
2011-04-19tests: use libmount tab update tests for UID=0 onlyKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-02-23tests: update libmount tests (add optstr output)Karel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-02-09tests: fix libmount testKarel Zak1-0/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-25tests: skip non-compiled libmount testsKarel Zak8-0/+16
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount utab testsKarel Zak1-0/+115
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: minor fixesKarel Zak1-1/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: remove utab from API, update testsKarel Zak1-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>
2011-01-03tests: improve libmount context mount and umount testKarel Zak2-83/+111
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add basic libmount tests for mountingKarel Zak2-3/+84
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add utab update testsKarel Zak1-2/+34
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03libmount: fix Makefile and testsKarel Zak1-7/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount mtab update testKarel Zak1-0/+64
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add quoted optstrKarel Zak1-1/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount lock testKarel Zak1-0/+37
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount utils.c testsKarel Zak4-3/+81
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount tags testsKarel Zak1-0/+92
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount mtab testsKarel Zak2-0/+21
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount tab_parse.c testsKarel Zak4-0/+101
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-03tests: add libmount optstr.c testsKarel Zak1-0/+85
Signed-off-by: Karel Zak <kzak@redhat.com>