Backport r85525 from #10098.
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 49f554c..d68a97a 100644
--- a/Lib/test/test_os.py
+++ b/Lib/test/test_os.py
@@ -750,7 +750,7 @@
         # Let the interpreter startup before we send signals. See #3137.
         count, max = 0, 20
         while count < max and proc.poll() is None:
-            if m[0] == '0':
+            if m[0] == '1':
                 break
             time.sleep(0.5)
             count += 1