aboutgitcodebugslistschat
path: root/test/distro
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-09-14 11:52:14 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-09-14 20:49:08 +0200
commitb323e5f43999a5ab38196502bb97bcd695538906 (patch)
treefc8796b01e9fead8251034053e53b4e9a02d6e2a /test/distro
parent9fc476af6ebcef88e128fb681631c3a39243f4f2 (diff)
downloadpasst-b323e5f43999a5ab38196502bb97bcd695538906.tar
passt-b323e5f43999a5ab38196502bb97bcd695538906.tar.gz
passt-b323e5f43999a5ab38196502bb97bcd695538906.tar.bz2
passt-b323e5f43999a5ab38196502bb97bcd695538906.tar.lz
passt-b323e5f43999a5ab38196502bb97bcd695538906.tar.xz
passt-b323e5f43999a5ab38196502bb97bcd695538906.tar.zst
passt-b323e5f43999a5ab38196502bb97bcd695538906.zip
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>
Diffstat (limited to 'test/distro')
0 files changed, 0 insertions, 0 deletions