projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79bf0d4
)
selftest: Show expected and actual return codes for test failures in fcnal-test
author
David Ahern
<dsahern@kernel.org>
Wed, 24 Jan 2024 21:41:17 +0000
(14:41 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 26 Jan 2024 01:14:11 +0000
(17:14 -0800)
Capture expected and actual return codes for a test that fails in
the fcnal-test suite.
Signed-off-by: David Ahern <dsahern@kernel.org>
Link:
https://lore.kernel.org/r/20240124214117.24687-4-dsahern@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/fcnal-test.sh
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/net/fcnal-test.sh
b/tools/testing/selftests/net/fcnal-test.sh
index f590b0fb740eadd53e63d09da79df97da729c2da..d7cfb7c2b427e80af7bedc68cf98f4bf129c8623 100755
(executable)
--- a/
tools/testing/selftests/net/fcnal-test.sh
+++ b/
tools/testing/selftests/net/fcnal-test.sh
@@
-109,6
+109,7
@@
log_test()
else
nfail=$((nfail+1))
printf "TEST: %-70s [FAIL]\n" "${msg}"
+ echo " expected rc $expected; actual rc $rc"
if [ "${PAUSE_ON_FAIL}" = "yes" ]; then
echo
echo "hit enter to continue, 'q' to quit"