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 <tom.hroma...@oracle.com>
---
 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 be58869293fb..c8cd3fd68a7f 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.25.4



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to