summaryrefslogtreecommitdiff
path: root/tests/ts
AgeCommit message (Collapse)AuthorFilesLines
2013-03-06tests: add fdisk GPT testKarel Zak1-0/+84
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>
2013-03-06tests: add fdisk BSD testKarel Zak1-0/+106
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-05tests: use checksum to detect rev(1) consistencyKarel Zak1-2/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-04tests: make utmpdump TZ independentKarel Zak2-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-26tests: add umount --all-targets testsKarel Zak1-0/+121
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-02-07libblkid: improve Silicon RAID proberKarel Zak1-1/+0
* 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>
2013-02-06tests: add f2fs image testAlejandro Martinez Ruiz1-0/+0
Signed-off-by: Alejandro Martinez Ruiz <alex@nowcomputing.com>
2013-01-25tests: add ipcmk(1) and ipcrm(1) checksSami Kerola4-0/+125
Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-25tests: add whereis(1) checkSami Kerola1-0/+28
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-25tests: add isosize(1) checkSami Kerola2-0/+24
Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-25tests: add fallocate(1) checkSami Kerola1-0/+25
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-25tests: add setarch(8) checkSami Kerola1-0/+23
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-25tests: add setsid(1) checkSami Kerola1-0/+23
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-25tests: add dmesg(1) checkSami Kerola5-0/+201
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-25tests: add line(1) checkSami Kerola1-0/+24
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-24tests: add more(1) checkSami Kerola2-0/+48
[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>
2013-01-24tests: add ionice(1) checkSami Kerola1-0/+28
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-24tests: add ul(1) checkSami Kerola1-0/+24
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-24tests: add tailf(1) checkSami Kerola1-0/+29
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-24tests: add mcookie(1) checkSami Kerola1-0/+26
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-24tests: add getopt(1) checkSami Kerola1-0/+46
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-24tests: add utmpdump(1) checkSami Kerola4-0/+56
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-24tests: add rev(1) checkSami Kerola1-0/+24
Fairly lenghty input line tries to ensure realloc segment in code is hit at least once. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-15tests: add/improve mount shared-subtree testsKarel Zak1-19/+42
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-01-10hexdump: do not segfault when iterating over an empty format stringOndrej Oprala1-0/+26
Signed-off-by: Ondrej Oprala <ooprala@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-15tests: add shared subtrees to umount --recursive testKarel Zak1-1/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-15tests: add umount --recursive testKarel Zak1-0/+90
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-12tests: add armv7 lscpu dumpKarel Zak1-0/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-12tests: add ppc64-POWER7-64cpu lscpu dumpKarel Zak1-0/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-11-12tests: remove lscpu /sys dumps without 'possible' CPU maskKarel Zak15-0/+0
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-10-15tests: add mising "export" keywordKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-10-15tests: skip ipcs limits overflow when bc is not availableGilles Espinasse1-0/+1
Found only this one while trying as-root tests Signed-off-by: Gilles Espinasse <g.esp@free.fr>
2012-10-15tests: fix ipcs basic limit when bc is not availableGilles Espinasse1-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>
2012-10-09tests: fix mount move test to work with shared mountMilan Broz1-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>
2012-10-09tests: ignore test if kernel doesn't support minix fsMilan Broz1-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>
2012-10-09tests: fix timezone for cramfsMilan Broz1-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>
2012-09-12tests: remove encryption loopdev testKarel Zak1-64/+0
Reported-by: Bernhard Voelker <mail@bernhard-voelker.de> 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-08-01tests: standardize fdisk headers in MBR testsKarel Zak2-3/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-08-01tests: blkid/md-raid1-part failsBernhard Voelker1-4/+6
[kzak@redhat.com: - I forgot to apply this part of the Bernhard's patch] Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31tests: add non-dos mode fdisk testKarel Zak1-0/+135
2012-07-31tests: add layout info to dos mode testKarel Zak1-0/+33
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-31tests: rename doslabel testKarel Zak2-2/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-07-30tests: use ts_is_mounted in mount/regfileBernhard Voelker1-2/+2
If the test directory is on a symlink, then mount/regfile failed because it did not search for the mount point in /proc/mounts canonicalized. Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
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-06-26build-sys: convert tests/ to moduleKarel Zak1-54/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2012-06-21tests: add lscpu test for box with 64 CPUsKarel Zak1-0/+0
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 Bueso1-2/+3
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>