From 8a30fd5f49163847ece3b6e108d6d25cd3e615fd Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 25 Mar 2025 11:36:41 +0000 Subject: [PATCH] tests: execute: Bring back the open file descriptor test Signed-off-by: Michael Tremer --- tests/python/execute.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/python/execute.py b/tests/python/execute.py index 791e397d..d8b0c027 100755 --- a/tests/python/execute.py +++ b/tests/python/execute.py @@ -132,12 +132,12 @@ class ExecuteTests(tests.TestCase): with self.assertRaises(OSError): self.pakfire.execute(["/command", "print-nice"], nice=100) - #def test_check_open_file_descriptors(self): - # """ - # Since we are spawning child processes, it might happen that we leak file - # descriptors to the child process. - # """ - # self.pakfire.execute(["/command", "check-open-file-descriptors"]) + def test_check_open_file_descriptors(self): + """ + Since we are spawning child processes, it might happen that we leak file + descriptors to the child process. + """ + self.pakfire.execute(["/command", "check-open-file-descriptors"]) # Signals -- 2.39.5