From d37f954222a2f2b16eceb5166931f85e1838f2a2 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 7 Sep 2015 03:13:31 +0000 Subject: [PATCH 1/1] Add troubleshooting note to test failure output When a functional test failure is encountered, recommend the corresponding log to check for the actual output when an expected match is not found. --- bin/test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/test b/bin/test index cf90a6c..10ea7c4 100755 --- a/bin/test +++ b/bin/test @@ -139,8 +139,9 @@ for test, description in dialogue: except: pass if index is not 0: - print("ERROR: luser%s did not receive expected string:\n\n%s" - % (conversant, question)) + print("ERROR: luser%s did not receive expected string:\n\n%s\n\n" + "Check the end of capture_%s.log for received data." + % (conversant, question, conversant)) success = False break print("luser%s sending: %s" % (conversant, answer)) -- 2.11.0