Issue #25220: Add test for --wait in test_regrtest

Replace script_helper.assert_python_ok() with subprocess.run().
1 file changed