summaryrefslogtreecommitdiffstats
path: root/tests/ts/utmp
Commit message (Collapse)AuthorAgeFilesLines
* tests: adjust for ISO timezone colon useJ William Piggott2017-11-124-34/+34
| | | | | | | Fix several tests broken by adding a timezone colon in the timeutils ISO format functions. Signed-off-by: J William Piggott <elseifthen@gmx.com>
* tests: check for missing programs in last(1) testKarel Zak2017-07-111-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: avoid diff of diffsRuediger Meier2017-06-011-4/+2Star
| | | | | | | | | | Certain diff implementations do not produce comparable output. Noticed on Alpine Linux/busybox. CC: Sami Kerola <kerolasa@iki.fi> Reported-by: Assaf Gordon <assafgordon@gmail.com> Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: utmpdump add subsecond accuracy testSami Kerola2016-06-272-0/+37
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: challenge utmpdump localization go-aroundSami Kerola2016-06-275-5/+5
| | | | | | | | The utmpdump timestamps are unambiguous, they always use UTC-0 regardless of localization. If thesse tests starts to fail after this change then the timezone forcing is not working. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: fix utmpdump timestamps to be in iso formatSami Kerola2016-06-267-32/+69
| | | | | | | | The utmpdump-circle is slightly modified to use old timestamp format as basis of conversion and to do cyclic conversion via new format. This is better from test coverage point of view. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* tests: skip some last tests if no dns supportRuediger Meier2014-06-122-0/+10
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: split last into dns and nodns subtestsRuediger Meier2014-06-122-10/+14
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: add utmpdump-circle test (arch independent)Ruediger Meier2014-06-121-0/+42
| | | | | | | This one is a completely arch independent conversion round: text -> bin -> text -> bin Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: provide missing test data for "last" on exotic archsRuediger Meier2014-06-122-4/+18
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: skip utmpdump tests for exotic archsRuediger Meier2014-06-125-12/+26
| | | | | | | We introduce utmp_functions.sh and skip tests if size of utmp struct does not match our wtmp test data. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: merge last/ and utmpdump/ into new utmp/ dirRuediger Meier2014-06-1115-0/+283
We want to prepare and simplify utmp sepcific fixes. Beside all this renaming we also update/add some text data to have it more consistent. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>