Commit 7f81e2b9 authored by Iustin Pop's avatar Iustin Pop
Browse files

Temporarily remove the interactive tests

make check < /dev/null breaks these tests. Until we have change RunCmd
to override stdin, we need to remove them.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent c74cda62
......@@ -295,18 +295,6 @@ class TestRunCmd(testutils.GanetiTestCase):
result = RunCmd(["/bin/sh", "-c", cmd], timeout=0.2)
self.assertEqual(result.exit_code, 0)
def testTimeoutCleanInteractive(self):
cmd = "trap 'exit 0' TERM; read"
result = RunCmd(["/bin/sh", "-c", cmd], interactive=True, timeout=0.2)
self.assertEqual(result.exit_code, 0)
def testTimeoutNonClean(self):
for exit_code in (1, 10, 17, 29):
cmd = "trap 'exit %i' TERM; read" % exit_code
result = RunCmd(["/bin/sh", "-c", cmd], interactive=True, timeout=0.2)
self.assertEqual(result.exit_code, exit_code)
def testTimeoutKill(self):
cmd = "trap '' TERM; read < %s" % self.fifo_file
timeout = 0.2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment