From: Michael Tremer Date: Tue, 25 Mar 2025 11:36:41 +0000 (+0000) Subject: tests: execute: Bring back the open file descriptor test X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a30fd5f49163847ece3b6e108d6d25cd3e615fd;p=pakfire.git tests: execute: Bring back the open file descriptor test Signed-off-by: Michael Tremer --- 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