From: Tom Hromatka Date: Fri, 28 Jul 2023 15:04:50 +0000 (-0600) Subject: tests: Delete test 066's config file X-Git-Tag: v3.1.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c304729be056655d97d91f8e7c1960bf08c2d0e;p=thirdparty%2Flibcgroup.git 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 --- 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: