From 5b8a648d3dba89aa3c33785ddc9a67e75203ebdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kowalczyk?= Date: Mon, 6 Jul 2020 18:20:34 +0200 Subject: [PATCH] [LibOS] regression: Fix test_201_exec_same to work in debug mode --- LibOS/shim/test/regression/test_libos.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LibOS/shim/test/regression/test_libos.py b/LibOS/shim/test/regression/test_libos.py index 578006db..dff690cc 100644 --- a/LibOS/shim/test/regression/test_libos.py +++ b/LibOS/shim/test/regression/test_libos.py @@ -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)