1
0
mirror of https://passt.top/passt synced 2024-11-05 20:31:11 +00:00
passt/test/lib
Stefano Brivio b323e5f439 test: term: When checking if status line is a number, hide errors
We use the [ "$x" -eq "$x" ] syntax to check if $x is a number. The
behaviour is clearly implied by POSIX, but some shells might actually
report the (intended) error, and dash floods script.log with
"Illegal number" error messages. Hide them.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
2022-09-14 20:49:08 +02:00
..
context test: Move context temporary files to state dir 2022-09-13 11:12:41 +02:00
layout test: Move passt_test_log_pipe to state directory 2022-09-13 11:12:41 +02:00
perf_report test: Move perf.js report file to $LOGDIR/web 2022-09-13 11:12:41 +02:00
setup test: Move pidfiles and nsholder sockets into state directory 2022-09-13 11:12:41 +02:00
term test: term: When checking if status line is a number, hide errors 2022-09-14 20:49:08 +02:00
test test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
util tests: Remove unused set_mode() function 2022-07-14 01:32:42 +02:00
video test: Move video processing files to $STATEBASE 2022-09-13 11:12:41 +02:00