diff options
Diffstat (limited to 'tests/isolated/os_waitpid.py')
| -rw-r--r-- | tests/isolated/os_waitpid.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/isolated/os_waitpid.py b/tests/isolated/os_waitpid.py new file mode 100644 index 0000000..677b3cc --- /dev/null +++ b/tests/isolated/os_waitpid.py @@ -0,0 +1,13 @@ +from __future__ import print_function + +# no standard tests in this file, ignore +__test__ = False + +if __name__ == '__main__': + import subprocess + import eventlet + eventlet.monkey_patch(all=False, os=True) + process = subprocess.Popen("sleep 0.1 && false", shell=True) + rc = process.wait() + assert rc == 1, rc + print('pass') |
