summaryrefslogtreecommitdiffstats
path: root/tests/ts/cal/sep1752w
Commit message (Collapse)AuthorAgeFilesLines
* tests: merge sep1752 cal(1) testsKarel Zak2018-01-221-81/+0Star
| | | | | | | * merge tests * use subtests for cal(1) calls Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: use subtests for sep1752w testKarel Zak2018-01-221-6/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: simplify cal(1) sep1752w testKarel Zak2018-01-221-70/+35Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add cal(1) --week=40 1752Karel Zak2018-01-221-0/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: never use -o pipefailRuediger Meier2015-04-211-1/+0Star
| | | | | | | | | | | | | | | | | | | It was hard to find out that pipefail was the reason why our test-suite could have random failures for aribtrary tests, for example the ones which are using ts_device_has_uuid() or ts_mount(). Bash's pipefall option is evil! It may return error for such a simple line like this one $ echo -e "xxx\nyyy" | grep -q "xxx" because the left echo command will get SIGPIPE when grep exits after the first match. So the command line above could return an error eventhough it does exactly what we want. This patch removes any pipefail from our tests. The funny thing is that I couldn't find any case where we relied on this feature anyway. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: check commands needed for running a test existSami Kerola2014-03-071-0/+2
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: avoid executing dirname(1) commandSami Kerola2014-02-171-1/+1
| | | | | | Bash parameter expansion does the same thing. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: add TERM= to all cal(1) testsKarel Zak2013-10-221-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* cal: various tests for week numbersTommi Kyntola2013-10-221-0/+96
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>