aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-02-24 19:23:44 -0800
committerGuy Harris <guy@alum.mit.edu>2016-02-25 03:24:18 +0000
commitc9c0effa4b0ad685073da35b37ecc21a095ec788 (patch)
treed3df7ddeefe015e7d0c95a7eb0692dd8ce6539f1 /test
parent24aaddcf4342caa618acc2aed608981616248744 (diff)
Try putting the output directly into the error message.
When the tests are run in the buildbot, messages such as Error during test execution: see {pathname} aren't very useful. Change-Id: I4509ea58c162c264c316358019a1cbc01cd93e31 Reviewed-on: https://code.wireshark.org/review/14135 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'test')
-rwxr-xr-xtest/suite-decryption.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/suite-decryption.sh b/test/suite-decryption.sh
index 3261f07b96..ac5634d5db 100755
--- a/test/suite-decryption.sh
+++ b/test/suite-decryption.sh
@@ -117,8 +117,7 @@ decryption_step_80211_wpa_psk_mfp() {
RETURNVALUE=$?
frames=$(echo "$out" | wc -l)
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
- echo "$out" > ./wpa_psk_mfp.txt
- test_step_failed "Error during test execution: see $PWD/wpa_psk_mfp.txt"
+ test_step_failed "Error during test execution: $out"
return
elif [ $frames -ne 3 ]; then
test_step_failed "Not able to decode All Management frames ($frames/3)"
@@ -139,8 +138,7 @@ decryption_step_80211_wpa_tdls() {
RETURNVALUE=$?
frames=$(echo "$out" | wc -l)
if [ ! $RETURNVALUE -eq $EXIT_OK ]; then
- echo "$out" > ./wpa_tdls.txt
- test_step_failed "Error during test execution: see $PWD/wpa_tdls.txt"
+ test_step_failed "Error during test execution: $out"
return
elif [ $frames -ne 2 ]; then
test_step_failed "Not able to decode all TDLS traffic ($frames/2)"