X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=bin%2Ftest;h=10ea7c456094f1062daa2b212649e0d0f6b2146c;hp=25a171b16546528533cc23926f3aa5d900ca758d;hb=d37f954222a2f2b16eceb5166931f85e1838f2a2;hpb=8a4c063f57b6ef34ba25786fc461c9c5857fb45a diff --git a/bin/test b/bin/test index 25a171b..10ea7c4 100755 --- a/bin/test +++ b/bin/test @@ -139,13 +139,16 @@ 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)) lusers[conversant].write(("%s\r\n" % answer).encode("utf-8")) captures[conversant] += "%s\r\n" % answer + if not success: + break for conversant in range(len(captures)): try: captures[conversant] += lusers[