mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 22:01:29 +00:00
[LibOS] regression: Fix test_201_exec_same to work in debug mode
This commit is contained in:
committed by
Dmitrii Kuvaiskii
parent
db48178ae1
commit
5b8a648d3d
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user