Fix path to dumb-init in tty_test

This commit is contained in:
Chris Kuehl 2016-10-11 12:16:02 -07:00
parent 7ca7e44918
commit 5b269aa9f8

View file

@ -64,7 +64,7 @@ def test_child_gets_controlling_tty_if_we_had_one():
"""
pid, sfd = pty.fork()
if pid == 0:
os.execvpe('./dumb-init', ('dumb-init', 'bash', '-m'), {})
os.execvpe('dumb-init', ('dumb-init', 'bash', '-m'), {})
else:
ttyflags(sfd)