Commit graph

9 commits

Author SHA1 Message Date
Masatake YAMATO
7155e836de tests: wrap $TS_{TOPDIR,SELF} in "." cmdline with double quote chars
The command lines used for this change:

  $ cd tests/ts
  $ sed  -i -e 's|. $TS_SELF/|. "$TS_SELF"/|'  $(grep --exclude='*~' -lr -e '^\. \$TS_SELF/')
  $ sed -i -e 's|. $TS_TOPDIR/functions.sh|. "$TS_TOPDIR"/functions.sh|'  $(grep --exclude='*~' -lr -e '^\. \$TS_TOPDIR/functions.sh')

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
2022-11-23 16:09:48 +09:00
Vojtěch Eichler
b75bc0e78f tests: split additional tests into subtests 2021-10-19 20:45:28 +02:00
Karel Zak
cbf858aa08 tests: split stdout and stderr
* add $TS_ERRLOG for script stderr output
* add optional $TS_EXPECTED_ERR which points to expected/*/*.err

This change allows to keep track about stderr output from our commands
(already found bug in sfdisk...).

We do not have to depend on fragile stdout vs. stderr order (due to
different buffering semantic in different libc, etc.).

Signed-off-by: Karel Zak <kzak@redhat.com>
2019-08-30 15:50:07 +02:00
Ruediger Meier
5abaf5b035 tests: add more tests for line(1)
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-14 11:48:22 +02:00
Ruediger Meier
caad4ded12 tests: add some line tests
regarding e03f29b6 ...

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2015-12-03 01:56:53 +01:00
Sami Kerola
2f79154639 tests: check commands needed for running a test exist
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-03-07 11:52:57 +01:00
Sami Kerola
e130ce53ce tests: avoid executing dirname(1) command
Bash parameter expansion does the same thing.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2014-02-17 13:55:41 +01:00
Karel Zak
b46692cd43 tests: make line(1) optional
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-04-10 17:30:15 +02:00
Sami Kerola
f49b9ec780 tests: add line(1) check
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2013-01-25 10:09:35 +01:00