summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: add fdisk GPT testKarel Zak2013-03-062-0/+197
| | | | | | | | Note that the test does not check on-disk data (by checksum) because the current fdisk does not allow to modify automatically generated partition and disk UUIDs. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add fdisk BSD testKarel Zak2013-03-062-0/+233
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update fdisk mbr testsKarel Zak2013-03-062-0/+23
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use checksum to detect rev(1) consistencyKarel Zak2013-03-052-3/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: make utmpdump TZ independentKarel Zak2013-03-042-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update ipcs (reorder default output)Karel Zak2013-03-041-11/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update libblkid PT testsKarel Zak2013-03-045-5/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update UDF testKarel Zak2013-03-041-0/+5
| | | | | | .. blkid now returns infor from ISO header too. Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update ISO testsKarel Zak2013-03-043-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add umount --all-targets testsKarel Zak2013-02-265-0/+137
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libblkid: improve Silicon RAID proberKarel Zak2013-02-072-2/+1Star
| | | | | | | | * count checksum from superblock * new (correct) superblock definition from dmraid Reported-by: Frank Hirtz <fhirtz@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add f2fs image testAlejandro Martinez Ruiz2013-02-062-0/+7
| | | | Signed-off-by: Alejandro Martinez Ruiz <alex@nowcomputing.com>
* tests: sort commands stringsSami Kerola2013-01-251-62/+43Star
| | | | | | | The list is starting to be long enough that making any order to it seems like right thing to do. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add ipcmk(1) and ipcrm(1) checksSami Kerola2013-01-258-0/+133
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add whereis(1) checkSami Kerola2013-01-253-0/+30
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add isosize(1) checkSami Kerola2013-01-254-0/+26
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add fallocate(1) checkSami Kerola2013-01-253-0/+27
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add setarch(8) checkSami Kerola2013-01-253-0/+25
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add setsid(1) checkSami Kerola2013-01-253-0/+25
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add dmesg(1) checkSami Kerola2013-01-2510-0/+612
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add line(1) checkSami Kerola2013-01-253-0/+27
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add more(1) checkSami Kerola2013-01-245-0/+57
| | | | | | | [kzak@redhat.com: use test_more program rather than directly more(1)] Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add ionice(1) checkSami Kerola2013-01-243-0/+38
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add ul(1) checkSami Kerola2013-01-243-0/+28
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add tailf(1) checkSami Kerola2013-01-243-0/+32
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add mcookie(1) checkSami Kerola2013-01-243-0/+28
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add getopt(1) checkSami Kerola2013-01-243-0/+56
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add utmpdump(1) checkSami Kerola2013-01-247-0/+68
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add rev(1) checkSami Kerola2013-01-243-0/+26
| | | | | | | Fairly lenghty input line tries to ensure realloc segment in code is hit at least once. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add/improve mount shared-subtree testsKarel Zak2013-01-156-21/+48
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hexdump: do not segfault when iterating over an empty format stringOndrej Oprala2013-01-103-0/+28
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* mount: add support for x-mount.mkdir[=<mode>] optionOndrej Oprala2013-01-092-0/+11
| | | | | | | | | 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>
* tests: unset *_DEBUG variablesKarel Zak2012-12-101-0/+4
| | | | | Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add shared subtrees to umount --recursive testKarel Zak2012-11-152-1/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add umount --recursive testKarel Zak2012-11-152-0/+102
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add armv7 lscpu dumpKarel Zak2012-11-122-0/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add ppc64-POWER7-64cpu lscpu dumpKarel Zak2012-11-122-0/+80
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove lscpu /sys dumps without 'possible' CPU maskKarel Zak2012-11-1215-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* libmount: add private mnt_get_kernel_cmdline_option()Karel Zak2012-11-083-0/+15
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fsck.cramfs: compile with -DINCLUDE_FS_TESTS for make checkKarel Zak2012-10-221-1/+1
| | | | | | | | | make check sudo su - cd tests ./run.sh cramfs Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mising "export" keywordKarel Zak2012-10-151-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: skip ipcs limits overflow when bc is not availableGilles Espinasse2012-10-151-0/+1
| | | | | | | Found only this one while trying as-root tests Signed-off-by: Gilles Espinasse <g.esp@free.fr>
* tests: fix ipcs basic limit when bc is not availableGilles Espinasse2012-10-151-0/+1
| | | | | | | | Skip basic limit test if bc is not available. That happen to be the case when building from sources, following LFS book Signed-off-by: Gilles Espinasse <g.esp@free.fr>
* ddate: remove from util-linuxSami Kerola2012-10-155-5/+0Star
| | | | | | | | | | | See RedHat bug for reasons why the ddate is cleaned up. The reference is where to get the command in future. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=823156 References: https://github.com/bo0ts/ddate Acked-by: Petr Uzel <petr.uzel@suse.cz> Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix mount move test to work with shared mountMilan Broz2012-10-091-3/+16
| | | | | | | | | | | If parent mount for test directory is mounted with shared flag, move mount test fails because kernel rejects mount move operation. Use another directory level and explicitly make parent mount private. (All "modern" systems using system have mounts shared for some reason.) Signed-off-by: Milan Broz <mbroz@redhat.com>
* tests: ignore test if kernel doesn't support minix fsMilan Broz2012-10-091-1/+2
| | | | | | | | Minix mount test returs failure if kernel have no minix support, minix: mkfs ... FAILED (minix/mkfs) ignore test result instead in this case. Signed-off-by: Milan Broz <mbroz@redhat.com>
* tests: fix timezone for cramfsMilan Broz2012-10-091-0/+1
| | | | | | | | cramfs test need explicitly set timezone otherwise ls diff fails with cramfs: mkfs checksums ... FAILED (cramfs/mkfs) Signed-off-by: Milan Broz <mbroz@redhat.com>
* tests: remove encryption loopdev testKarel Zak2012-09-122-65/+0Star
| | | | | Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: update build-sys testsKarel Zak2012-08-1514-585/+12Star
| | | | | | | - remove tests programs (no more compiled by default) - add resizepart Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: make compatible with autotoolsKarel Zak2012-08-036-31/+82
| | | | | | | | | | | | | | | | The command 'make check' is called from 'make distcheck' (which is used to generate official util-linux tarballs). It means that tests/ stuff has to be compatible with autotools and differentiate between source and build directories. * remove run-nonroot.sh (merged into run.sh * remove commands.sh.in * all tests and top level run.sh accept --builddir and --srcdir command line options * functions.sh modified to use $top_builddir/tests for output files Signed-off-by: Karel Zak <kzak@redhat.com>