File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3398,7 +3398,7 @@ def test_vfork_used_when_expected(self):
3398
3398
_run_using_command = strace_command ,
3399
3399
)
3400
3400
# Match both vfork() and clone(..., flags=...|CLONE_VFORK|...)
3401
- self .assertRegex (vfork_result .err , br"(?mi)^ vfork" )
3401
+ self .assertRegex (vfork_result .err , br"(?mi)vfork" )
3402
3402
# Do NOT check that fork() or other clones did not happen.
3403
3403
# If the OS denys the vfork it'll fallback to plain fork().
3404
3404
@@ -3426,7 +3426,7 @@ def test_vfork_used_when_expected(self):
3426
3426
_run_using_command = strace_command ,
3427
3427
)
3428
3428
# Ensure neither vfork() or clone(..., flags=...|CLONE_VFORK|...).
3429
- self .assertNotRegex (non_vfork_result .err , br"(?mi)^ vfork" )
3429
+ self .assertNotRegex (non_vfork_result .err , br"(?mi)vfork" )
3430
3430
3431
3431
3432
3432
@unittest .skipUnless (mswindows , "Windows specific tests" )
You can’t perform that action at this time.
0 commit comments