summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2012-07-26tests: update blkid tests with fdisk outputKarel Zak4-7/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-26tests: update fdisk test (default output format changed)Petr Uzel6-13/+7
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-07-26tests: look: add words fileSami Kerola2-3/+4
Archlinux words 2.0-4 package does not have 'apple-pie' in words file. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-07-26tests: partx changed default output formatSami Kerola5-15/+20
Reference: commit 7cfd1b26437acd45f1e2e75c9648afabb8f5b2da Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-07-23tests: update oddinput testKarel Zak1-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-16test_sysinfo: fix compiler warning [-Wmissing-prototypes]Karel Zak1-19/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26build-sys: cleanup .gitignore filesKarel Zak1-4/+0
- move all binaries to top-level .gitignore - remove unnecessary */.gitignore files Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-26build-sys: convert tests/ to moduleKarel Zak7-133/+76
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-21tests: add lscpu test for box with 64 CPUsKarel Zak2-0/+88
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 8 Socket(s): 4 Vendor ID: GenuineIntel ... Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-21fdisk: tests: update oddinput testDavidlohr Bueso2-2/+4
Adding mbr to the API breaks this test, specifically when reading the first 512 bytes of the MBR, update the expected output for oddinput.toosmall. Also let the test create and remove the test file instead of having it in the expected directory. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2012-05-28tests: add losetup/mount encryption testKarel Zak2-0/+65
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-05-24tests: add UFS uuids to resultsKarel Zak1-0/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-05-10tests: update fdisk testKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-23Fix typos found by misspellingsBernhard Voelker1-1/+1
The tool misspellings (https://github.com/lyda/misspell-check) detected several typos. Command used: $ git ls-files | grep -v ^po/ | misspellings -f - * isosize: Fix typo in usage string. * configure.ac: Fix typo in help string of --enable-most-builds option. * fdisk: Fix typo in man page. * libblkid, blkid, mount: Likewise. * Fix various typos in docs and in source code comments. Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
2012-04-18tests: tiny change in output headerKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-18tests: remove LD_LIBRARY_PATH from swapon testsKarel Zak7-34/+12
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-05Merge branch 'eject'Karel Zak8-0/+120
* eject: (47 commits) tests: use eject --force eject: use BUILD_EJECT, move to sys-utils eject: clean up usage() eject: clean up man page eject: add --force option eject: check for hotplug/removable attribute eject: remove obsolete code, use EXIT_* macros tests: add umount-by-eject tests eject: improve work with partitioned devices lib/sysfs: improve sysfs_is_partition_dirent() eject: call umount <mountpoint> rather than <device> eject: use libmount to detect if cdrom is mounted eject: make the code robust eject: use SG_IO ioctl for scsi eject: support CDIOCEJECT ioctl eject: new close_tray code from Fedora eject: new auto_eject code from Fedora eject: add -X from Fedora eject: add --manualeject from fedora eject: clean up devname usage ...
2012-04-05tests: use eject --forceKarel Zak2-6/+11
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-04-02tests: hwclock: locate ntpdate by using pathSami Kerola1-1/+2
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-29tests: add umount-by-eject testsKarel Zak8-0/+115
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-27tests: add swapon tests for --fixpgsz and fix signatureKarel Zak4-0/+94
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-26tests: updateKarel Zak2-2/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-21tests: update iso testsKarel Zak3-0/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-18pathnames: clean up various user database pathsSami Kerola2-17/+0
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-03-06tests: add lslocks to build-sys testsKarel Zak14-0/+14
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-02tests: search for "none" by findmntKarel Zak1-2/+7
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-03-02tests: update libmount testsKarel Zak5-5/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-03-01tests: add tests for mount --make-* stuffKarel Zak5-0/+62
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-28tests: make output and diff dirs usage more robustKarel Zak3-5/+23
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-28build-sys: enhance readability of the autotools filesSami Kerola2-7/+10
Several horizontal lists are turned to vertical, and sorted to alphabetical order. Additionally spaces are converted to tabs where ever possible. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2012-02-28test: test 'none' source for mount(8)Karel Zak2-0/+26
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-24tests: test non-canonical paths in fstabKarel Zak5-0/+27
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-23tests: add wall to build-sys testsKarel Zak14-0/+14
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-21tests: make minix tests more robustKarel Zak2-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-02-06tests: add --memcheck toKarel Zak1-0/+3
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>
2012-01-26tests: add infrastructure for valgrindKarel Zak1-3/+34
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-17test: refresh build-sys testsKarel Zak15-38/+155
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-12tests: fix mount/special to be compatible with libmountKarel Zak2-18/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-12tests: add exceptions for libmountKarel Zak4-2/+7
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-12tests: update tests with fdisk outputKarel Zak3-9/+9
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-01-12tests: remove unssuported losetup -sKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>