diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/argcomplete/files | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/argcomplete/files')
| -rw-r--r-- | dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch b/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch new file mode 100644 index 000000000000..0b2ac120402e --- /dev/null +++ b/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch @@ -0,0 +1,21 @@ +diff --git a/test/test.py b/test/test.py +index c89912a..eedfe36 100755 +--- a/test/test.py ++++ b/test/test.py +@@ -1362,4 +1362,4 @@ class TestBashGlobal(TestBash): +- install_output = self.sh.run_command(command) ++ install_output = self.sh.run_command(command, timeout=300) + self.assertEqual(self.sh.run_command("echo $?"), "0\r\n", install_output) + command = "test-module" + if package: +@@ -1395,8 +1395,8 @@ class Shell: + def run_command(self, command): + try: + self.child.sendline(r"echo -n \#\#\#; {0}; echo -n \#\#\#".format(command)) +- self.child.expect_exact("###", timeout=5) +- self.child.expect_exact("###", timeout=5) ++ self.child.expect_exact("###", timeout=30) ++ self.child.expect_exact("###", timeout=30) + return self.child.before + finally: + # Send Ctrl+C in case we get stuck. |
