Following Windows support removal, for readability, we can rely again on
(POSIX) "kill -l" to get the name of the signal for some exit status.

Signed-off-by: David Marchand <[email protected]>
---
 tests/library.at | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tests/library.at b/tests/library.at
index 5639e0bc82..80ebe6ed8a 100644
--- a/tests/library.at
+++ b/tests/library.at
@@ -215,10 +215,9 @@ AT_CHECK([cd $longname && $PYTHON3 
$abs_srcdir/test-unix-socket.py ../$longname/
 AT_CLEANUP
 
 AT_SETUP([ovs_assert])
-# SIGABRT + 128
-exit_status=134
-AT_CHECK([ovstest test-util -voff -vfile:info '-vPATTERN:file:%c|%p|%m' 
--log-file assert],
-  [$exit_status], [], [stderr])
+AT_CHECK([ovstest test-util -voff -vfile:info '-vPATTERN:file:%c|%p|%m' 
--log-file assert || kill -l $?],
+  [0], [ABRT
+], [stderr])
 
 AT_CHECK([sed 's/\(opened log file\) .*/\1/
 s/|[[^|]]*: /|/
-- 
2.53.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to