util-linux/tests/ts/hexdump
Stanislav Brabec b59c3bf292 tests: fix redirection
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>
2016-02-12 10:39:14 +01:00
..
files hexdump: add basic tests 2013-11-08 12:53:10 +01:00
format-strings tests: fix redirection 2016-02-12 10:39:14 +01:00
highlighting tests: fix hexdump for big endian 2014-05-13 20:11:12 +02:00