Merging upstream version 3.4.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
30c21d6b63
commit
e84e03e022
13 changed files with 183 additions and 19 deletions
|
@ -147,6 +147,15 @@ def test_xargs_retcode_normal():
|
|||
assert ret == 5
|
||||
|
||||
|
||||
@pytest.mark.xfail(sys.platform == 'win32', reason='posix only')
|
||||
def test_xargs_retcode_killed_by_signal():
|
||||
ret, _ = xargs.xargs(
|
||||
parse_shebang.normalize_cmd(('bash', '-c', 'kill -9 $$', '--')),
|
||||
('foo', 'bar'),
|
||||
)
|
||||
assert ret == -9
|
||||
|
||||
|
||||
def test_xargs_concurrency():
|
||||
bash_cmd = parse_shebang.normalize_cmd(('bash', '-c'))
|
||||
print_pid = ('sleep 0.5 && echo $$',)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue