Browse Source

Merge branch 'trac573'

Naoki Kambe 14 years ago
parent
commit
0e6a18e12f
2 changed files with 5 additions and 1 deletions
  1. 4 0
      ChangeLog
  2. 1 1
      src/bin/msgq/tests/msgq_test.py

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+  XXX.  [bug]           naokikambe
+	Fixed failure of termination of msgq_test.py with python3 coverage(3.3.1)
+	(Trac #nnn, git tbdtbdtbdtbdtbdtbdtbdtbdtbdtbdtbdtbdtbdtbdtbdtbd)
+
   166.  [func]      jelte
 	The resolver now sends back a SERVFAIL when there is a client
 	timeout (timeout_client config setting), but it will not stop

+ 1 - 1
src/bin/msgq/tests/msgq_test.py

@@ -132,7 +132,7 @@ class SendNonblock(unittest.TestCase):
             task()
             # If we got here, then everything worked well and in time
             # In that case, we terminate successfully
-            sys.exit()
+            sys.exit(0)	# needs exit code
         else:
             (pid, status) = os.waitpid(task_pid, 0)
             self.assertEqual(0, status,