From a64cea3f9818dff1ab5a503dce2b4bfbd760d74d Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Wed, 28 Oct 2020 15:34:13 +0000 Subject: [PATCH] ftests: Fix config typo in test 001 Test 001 erroneously set the test number in the wrong place - config.test_num. This caused all the tests to run when only test 001 was invoked. The correct setting is config.args.num Signed-off-by: Tom Hromatka --- ftests/001-cgget-basic_cgget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftests/001-cgget-basic_cgget.py b/ftests/001-cgget-basic_cgget.py index be588692..c8cd3fd6 100755 --- a/ftests/001-cgget-basic_cgget.py +++ b/ftests/001-cgget-basic_cgget.py @@ -63,5 +63,5 @@ def main(config): if __name__ == '__main__': config = ftests.parse_args() # this test was invoked directly. run only it - config.test_num = int(os.path.basename(__file__).split('-')[0]) + config.args.num = int(os.path.basename(__file__).split('-')[0]) sys.exit(ftests.main(config)) -- 2.47.2