summaryrefslogtreecommitdiffstats
path: root/tests/ts/hexdump
Commit message (Collapse)AuthorAgeFilesLines
* tests: add missing ts_check_test_command callsKarel Zak2019-03-042-0/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix redirectionStanislav Brabec2016-02-121-2/+2
| | | | | | | | | | | | | | | | | | | Many tests do. 2>&1 >> $TS_OUTPUT It redirects stdout to $TS_OUTPUT and stderr to stdout. It could cause unintended ignoring of errors on strerr and false positive result of the test. Use >> $TS_OUTPUT 2>&1 instead to redirect both stdout and stderr to $TS_OUTPUT. Automatically created by: cd tests/ts sed -i 's:2>\&1 >> \$TS_OUTPUT:>> $TS_OUTPUT 2>\&1:g' $(fgrep -rl '2>&1 >> $TS_OUTPUT' .) Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
* tests: fix hexdump for big endianRuediger Meier2014-05-132-1/+32
| | | | | | | | For now endianess dependent subtests have undefined output on BE systems until sombody re-checks this and provides expected output files with .BE suffix. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: fix hexdump, add ts_finalizeRuediger Meier2014-05-131-0/+2
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* tests: check commands needed for running a test existSami Kerola2014-03-071-1/+1
| | | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Karel Zak <kzak@redhat.com>
* hexdump: color unit may now be longer than the corresponding format unitOndrej Oprala2014-03-041-2/+8
| | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
* tests: avoid executing dirname(1) commandSami Kerola2014-02-172-2/+2
| | | | | | Bash parameter expansion does the same thing. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* hexdump: add highlighting supportOndrej Oprala2014-02-101-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>
* hexdump: add basic testsOndrej Oprala2013-11-083-26/+60
| | | | | Signed-off-by: Ondrej Oprala <ooprala@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* hexdump: do not segfault when iterating over an empty format stringOndrej Oprala2013-01-101-0/+26
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>