summaryrefslogtreecommitdiff
path: root/tests/ts
AgeCommit message (Collapse)AuthorFilesLines
2014-02-10hexdump: add highlighting supportOndrej Oprala1-0/+235
[kzak@redhat.com: - fix coding style, - use xalloc in all code, - fix strtol usage] Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2014-02-06tests: cal(1) is year is limited to signed 32 bit valueSami Kerola2-6/+6
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-01-14tests: add partx --update testKarel Zak1-0/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
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>
2014-01-06tests: last: skip when last is not enabledMike Frysinger2-0/+4
References: https://bugs.gentoo.org/489794 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-11-08hexdump: add basic testsOndrej Oprala3-26/+60
Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-11-05tests: add sparc64 lscpu testKarel Zak1-0/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-23tests: test corruted GPT headersKarel Zak1-1/+14
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-22tests: add TERM= to all cal(1) testsKarel Zak11-0/+11
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-10-22cal: added argument option for -w|--week to display that weekTommi Kyntola1-0/+131
Because many years have two sections of week 52 or 53, the week that this argument points to is the one that starts during that year (when available). The week number in argument is also highlighted in addition to possibly visible current/defined date highlighting. Signed-off-by: Tommi Kyntola <kynde@iki.fi>
2013-10-22cal: various tests for week numbersTommi Kyntola7-0/+525
Current tests were replicated with week numbers and some additional tests for week numbering corner cases were added, too. Signed-off-by: Tommi Kyntola <kynde@iki.fi>
2013-10-22cal: added two missing testsTommi Kyntola2-0/+2
Bigyear and Sep1752 lacked their were missing their last intended tests along with their expected outputs. Signed-off-by: Tommi Kyntola <kynde@iki.fi>
2013-10-08tests: use 'btrfs' rather than 'btrfsctl'Karel Zak2-4/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-26tests: improve cal --color testKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-25ORIG_HEADKarel Zak1-1/+1
tests: update sun label test * add fdisk -l outputs (to make the test more usable) * use more usable geometry * don't expect that 'create sun label' oprations asks for C/H/S (we follows fdisk_context defaults) Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-25libfdisk: (sun) make it more obvious why the first sector movedKarel Zak1-10/+25
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-09-19tests: update fdisk outputsKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-18tests: refresh fdisk testsKarel Zak6-57/+49
2013-09-11tests: add bcache imagesKarel Zak2-0/+0
images generated by Rolf Fokkens <rolf@rolffokkens.nl> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-11tests: use stable MBR IDKarel Zak1-0/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-09-11tests: add XFS log imageKarel Zak1-0/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-08-29tests: check last(1) and utmpdump(1) IPv6 functionalitySami Kerola6-0/+93
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-08-29tests: add last(1) testSami Kerola2-0/+62
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-08-26tests: minor changes to make tests more portableKarel Zak3-1/+4
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-06-07rev: stop adding new line at the end when input does not have itSami Kerola1-0/+2
When the rev(1) is executed twice outcome is expected to be exactly what it was originally. That includes not adding new line at the end of the output. The oneliner below demonstrates earlier issue. $ printf "abc\n123" | rev | rev Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-05-26tests: check cal works when year is far in futureSami Kerola1-0/+95
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-05-26tests: add cal day color corner casesSami Kerola1-0/+68
Check that the first, andn last, possible dates and strange Sep 1752 dates are highlighted correctly. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-05-26tests: add calendar reformation checkSami Kerola1-0/+95
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-05-13tests: add losetup testsKarel Zak1-0/+131
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-26wipefs: add --backupOndrej Oprala1-0/+30
[kzak@redhat.com: - don't wipe if failed to create a backup file - use ts_scsi_debug_init in the regression tests] Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-26tests: partx tests cleanupKarel Zak1-30/+19
* use ts_scsi_debug_init * use headers in output * use udevadm Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-26tests: add partx regression testsOndrej Oprala1-0/+92
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
2013-04-25tests: make mount tests backwardly compatible with deprecated-mount/Karel Zak3-14/+25
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-15tests: add BE minix testKarel Zak3-0/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12tests: consolidate scsi_debug usageKarel Zak12-165/+43
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-12tests: use udevadm settle rather than sleepKarel Zak13-29/+43
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10tests: make line(1) optionalKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21tests: update build testsKarel Zak1-1/+1
* remove ld-linux-* from output * findmnt linked with libudev * lslocks linked with libmount * uuidd linked with librt * static binaries are no more enabled by default * chfn/chsh linked with libuser * add nsenter, runuser, setpriv Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-12tests: move fallocate test fileKarel Zak1-3/+7
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-12tests: move tailf test inputKarel Zak1-5/+10
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: update aks-partition-number dialog (planned regression)Karel Zak1-1/+1
Since 2.23 the fdisk ask-partition-number dialog don't ask for partition number if there is only one partition. This was default in DOS driver, now it's default everywhere. For Sun/BSD it's regression... but we don't want to maintain any extra code --- sorry --- we don't want any exception in the code. Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: update 'odd input' fdisk testKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: fix typo in fdisk testKarel Zak2-2/+2
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11tests: ignore stderr in fdisk -lKarel Zak1-1/+1
Signed-off-by: Karel Zak <kzak@redhat.com>