From: Jeremy Stanley Date: Mon, 7 Sep 2015 03:13:31 +0000 (+0000) Subject: Add troubleshooting note to test failure output X-Git-Tag: 0.0.1~205 X-Git-Url: https://mudpy.org/gitweb?a=commitdiff_plain;h=d37f954222a2f2b16eceb5166931f85e1838f2a2;p=mudpy.git 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. --- 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))