Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote-tracking branch 'origin/master' into document-blocking-writedocument-blocking-write | Jeff Quast | 2015-09-20 | 5 | -69/+71 |
|\ | |||||
| * | Do not assert trailing output on TRAVIS-CI | Jeff Quast | 2015-09-20 | 2 | -5/+14 |
| | | |||||
| * | interact tests: prefer getch over echo_w_prompt | Jeff Quast | 2015-09-20 | 3 | -68/+32 |
| | | | | | | | | | | this ensures more reliable clean exit, as is necessary in negative test for interact(escape_character=None) | ||||
| * | Use ^C in test_interact_escape_None, ^D unreliable | Jeff Quast | 2015-09-20 | 1 | -2/+1 |
| | | | | | | | | | | Test intermittently fails PyPy and Travis-CI hosts, where EOF is incorrectly interpreted instead of captured as exception. | ||||
| * | Allow {p}.interact(escape_character=None) | Jeff Quast | 2015-09-18 | 3 | -3/+22 |
| | | | | | | | | | | | | | | | | | | | | | | For those who wish to disable the ability to escape using escape_character until normal process termination, they may now set the value of escape_character to None. Some of the related docstring on escape_character was made more brief and clear about its related value behavior. This closes #131 #132 #167 | ||||
| * | Tests cases and documentation to supplement wait() | Jeff Quast | 2015-04-26 | 1 | -8/+19 |
| | | | | | | | | | | | | | | This matches the same branch of ptyprocess, noexception-on-wait-after-terminate, which allows calling the wait() method multiple times without raising an exception. | ||||
* | | Merge remote-tracking branch 'origin/master' into document-blocking-write | Jeff Quast | 2015-04-26 | 15 | -126/+795 |
|\ \ | |/ | |||||
| * | bugfix timeout parameter in maxcanon test | Jeff Quast | 2015-04-25 | 1 | -2/+2 |
| | | |||||
| * | workaround travis-ci's strange EOF issue | Jeff Quast | 2015-04-24 | 1 | -6/+12 |
| | | |||||
| * | Merge remote-tracking branch 'origin/freebsd-support' into bugfix-virtualenv | Jeff Quast | 2015-04-24 | 1 | -2/+26 |
| |\ | |||||
| | * | FreeBSD: Necessary to skip test_beyond_max_icanon | Jeff Quast | 2015-02-22 | 1 | -2/+18 |
| | | | | | | | | | | | | sendline('_' * send_bytes) causes os.write to BLOCK indefinitely | ||||
| | * | FreeBSD: Document magic max canon value of 1920 | Jeff Quast | 2015-02-22 | 1 | -2/+10 |
| | | | |||||
| * | | style: remove more 1-character variables | Jeff Quast | 2015-02-14 | 1 | -10/+10 |
| | | | |||||
| * | | Negative test: ensure TypeError is raised. | Jeff Quast | 2015-02-14 | 1 | -1/+9 |
| | | | |||||
| * | | rename 'test_run_X' as 'test_run_event_as_X" | Jeff Quast | 2015-02-14 | 1 | -4/+4 |
| | | | |||||
| * | | pep8 and cleanup test_run.py | Jeff Quast | 2015-02-14 | 1 | -31/+45 |
| | | | | | | | | | | | | | | | | | | 79-line columns, space before '(' in function definition, once line between methods, two lines between classes and functions, No one-character variables. | ||||
| * | | Allows also method callback for events argument in pexpect.run() | Samuel Bancal | 2015-02-12 | 1 | -0/+52 |
| |/ | | | | | | | Updated test_run.py for this case | ||||
| * | Update tests README | Thomas Kluyver | 2015-01-19 | 1 | -14/+4 |
| | | |||||
| * | Merge pull request #106 from pexpect/issue-104-cannot-exec-setuids | Thomas Kluyver | 2014-12-20 | 1 | -15/+94 |
| |\ | | | | | | | Issue 104 cannot exec setuids | ||||
| | * | Comment on the cause for 'group executable' == no | Jeff Quast | 2014-12-19 | 1 | -0/+4 |
| | | | |||||
| | * | Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuids | Jeff Quast | 2014-12-19 | 1 | -2/+2 |
| | |\ | |||||
| | * \ | Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuids | Jeff Quast | 2014-12-18 | 5 | -41/+221 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: pexpect/__init__.py | ||||
| | * \ \ | Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuids | Jeff Quast | 2014-11-23 | 7 | -27/+318 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/history.rst | ||||
| | * | | | | Add tests for running as root on Solaris, using | Jeff Quast | 2014-08-25 | 1 | -32/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | 'isroot' check. | ||||
| | * | | | | Closes issue #104 -- cannot execute sudo(8) | jquast | 2014-08-24 | 1 | -15/+90 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, misinterpreted that os.access(file, X_OK) always returns True on Solaris. Yes, but only for the uid of 0. Python issue #13706 closed "not a bug" reads to "just use os.stat()", so we went to great lengths to do so quite exhaustively. But this is wrong -- *only* when root, should we check the file modes -- os.access of X_OK works perfectly fine for non-root users. And, we should only check if any of the executable bits are set. Alas, it is true, you may execute that which you may not read -- because as root, you can always read it anyway. Verified similar solution in NetBSD test.c (/bin/test), OpenBSD ksh for its built-in test, and what FreeBSD/Darwin for their implementation of which.c. | ||||
| * | | | | | Merge pull request #164 from takluyver/contextmanager | Jeff Quast | 2014-12-19 | 1 | -0/+10 |
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | Allow spawn() and friends to be used as context managers | ||||
| | * | | | | Allow spawn() and friends to be used as context managers | Thomas Kluyver | 2014-12-19 | 1 | -0/+10 |
| | | |_|/ | | |/| | | | | | | | | | | | | Closes gh-111 | ||||
| * | | | | Update test case for preexec_fn | Thomas Kluyver | 2014-12-19 | 1 | -2/+2 |
| |/ / / | |||||
| * | | | Merge pull request #79 from pexpect/doc-and-test-max-canon | Thomas Kluyver | 2014-11-25 | 1 | -0/+152 |
| |\ \ \ | | | | | | | | | | | Test and document PC_MAX_CANON. | ||||
| | * | | | Strange intermittent travis-ci on-pypy failure | Jeff Quast | 2014-11-24 | 1 | -8/+15 |
| | | | | | |||||
| | * | | | Make some desperate attempts at partial-Travis-CI | Jeff Quast | 2014-11-24 | 1 | -7/+10 |
| | | | | | |||||
| | * | | | This should now pass on Linux | Jeff Quast | 2014-11-24 | 1 | -6/+6 |
| | | | | | |||||
| | * | | | Revert back to N_TTY_BUF_SIZE + 1 for Linux | Jeff Quast | 2014-11-24 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Seemingly, linux only BEL's on echo=True | Jeff Quast | 2014-11-24 | 1 | -3/+5 |
| | | | | | |||||
| | * | | | Fix failing tests, on OSX at least. Pushing .. | Jeff Quast | 2014-11-24 | 1 | -0/+140 |
| | | | | | |||||
| * | | | | Propose test-runner fork prevention scheme | Jeff Quast | 2014-11-24 | 1 | -0/+13 |
| |/ / / | |||||
| * | | | Merge pull request #148 from jquast/unset-buildagent-signal-handlers | Jeff Quast | 2014-11-24 | 2 | -37/+49 |
| |\ \ \ | | | | | | | | | | | Unset ignored signal handlers by build agents | ||||
| | * | | | use signal_value, resolving TypeError of getattr() | Jeff Quast | 2014-11-23 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | Resolve AttributeError in restore_ignored_signals | Jeff Quast | 2014-11-23 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Set default signal handlers for SIGINT and SIGHUP. | Jeff Quast | 2014-11-23 | 2 | -37/+49 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to test_misc.py comments, fedora's build agent has the same problem as ours. We use the setUp and tearDown methods to set and restore these signals, if ignored. | ||||
| * | | | | Increase timeout of replwrap test from 2=>5 | Jeff Quast | 2014-11-23 | 1 | -1/+1 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OSX build slave is almost as bad as travis, its very sluggish -- Anyway this timeout condition occurs intermittently presumably because it is too short https://teamcity-master.pexpect.org/viewLog.html?buildId=782&buildTypeId=Pexpect_MacOs&tab=buildLog#_focus=499 | ||||
| * | | | Delegate sending control characters to ptyprocess | Thomas Kluyver | 2014-11-23 | 1 | -2/+5 |
| | | | | |||||
| * | | | Delegate more methods to ptyprocess | Thomas Kluyver | 2014-11-23 | 1 | -1/+1 |
| | |/ | |/| | |||||
| * | | Merge pull request #142 from pexpect/failed-str-self | Jeff Quast | 2014-11-22 | 1 | -0/+26 |
| |\ \ | | | | | | | | | Failure in __str__() before any output. | ||||
| | * | | Use str(p) and not p.__str__() | Jeff Quast | 2014-11-22 | 1 | -2/+3 |
| | | | | |||||
| | * | | use isinstance of 'str', not 'basestring' | Jeff Quast | 2014-11-22 | 1 | -2/+2 |
| | | | | |||||
| | * | | Failure in __str__() before any output. | Jeff Quast | 2014-11-22 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling str() on a spawn class object before it has any command output, the __str__() override attempts to truncate long command output while the value of self.before is still None, raising: TypeError: 'NoneType' object has no attribute '__getitem__' | ||||
| * | | | Fix 2nd and 3rd expect/response PS1 prompt | Jeff Quast | 2014-11-22 | 1 | -2/+2 |
| | | | | |||||
| * | | | Make sure when overriding setUp to call super's | Jeff Quast | 2014-11-22 | 1 | -0/+2 |
| | | | | |||||
| * | | | remove TODO about ls and change to use uname | Jeff Quast | 2014-11-22 | 1 | -7/+2 |
| | | | |