From 8c304729be056655d97d91f8e7c1960bf08c2d0e Mon Sep 17 00:00:00 2001 From: Tom Hromatka Date: Fri, 28 Jul 2023 09:04:50 -0600 Subject: [PATCH] tests: Delete test 066's config file After the test has run, delete the config file that was created in test 066-sudo-systemd_cgclassify-v2.py Signed-off-by: Tom Hromatka --- tests/ftests/066-sudo-systemd_cgclassify-v2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ftests/066-sudo-systemd_cgclassify-v2.py b/tests/ftests/066-sudo-systemd_cgclassify-v2.py index fee0812f..9f0fd3de 100755 --- a/tests/ftests/066-sudo-systemd_cgclassify-v2.py +++ b/tests/ftests/066-sudo-systemd_cgclassify-v2.py @@ -170,6 +170,8 @@ def teardown(config): # We need a pause, so that cgroup.procs gets updated. time.sleep(1) + os.remove(CONFIG_FILE_NAME) + try: Cgroup.delete(config, CONTROLLER, cgname=SLICE, ignore_systemd=True) except RunError as re: -- 2.47.2