[LibOS] regression: Fix test_201_exec_same to work in debug mode

This commit is contained in:
Michał Kowalczyk
2020-07-06 21:58:13 +00:00
committed by Dmitrii Kuvaiskii
parent db48178ae1
commit 5b8a648d3d
+3 -2
View File
@@ -98,9 +98,10 @@ class TC_01_Bootstrap(RegressionTestCase):
stdout)
def test_201_exec_same(self):
args = [str(i) for i in range(50)]
args = ['arg_#%d' % i for i in range(50)]
stdout, _ = self.run_binary(['exec_same'] + args, timeout=40)
self.assertIn('\n'.join(args), stdout)
for arg in args:
self.assertIn(arg + '\n', stdout)
def test_202_fork_and_exec(self):
stdout, _ = self.run_binary(['fork_and_exec'], timeout=60)