[Python-modules-commits] [pexpect] 10/16: Import pexpect_4.2.1.orig.tar.gz

Ondřej Nový onovy at moszumanska.debian.org
Sun Dec 11 16:34:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository pexpect.

commit 7511a09e65904c4f15e7f55f67eed036f49f5706
Author: Ondřej Nový <onovy at debian.org>
Date:   Sun Dec 11 17:25:13 2016 +0100

    Import pexpect_4.2.1.orig.tar.gz
---
 MANIFEST.in                                 |   6 -
 PKG-INFO                                    |   2 +-
 doc/conf.py                                 |   2 +-
 doc/history.rst                             |   7 +
 examples/passmass.py                        |   2 +-
 examples/telnet.py                          |  25 --
 pexpect.egg-info/PKG-INFO                   |  46 ----
 pexpect.egg-info/SOURCES.txt                | 150 -----------
 pexpect.egg-info/dependency_links.txt       |   1 -
 pexpect.egg-info/requires.txt               |   1 -
 pexpect.egg-info/top_level.txt              |   1 -
 pexpect/__init__.py                         |   2 +-
 pexpect/pxssh.py                            |   5 +-
 pexpect/replwrap.py                         |  11 +-
 setup.cfg                                   |   8 +-
 tests/.coverage.docker-2.local.36578.771124 |   1 -
 tests/.coverage.docker-2.local.36579.455415 |   1 -
 tests/.coverage.docker-2.local.36580.123114 |   1 -
 tests/.coverage.docker-2.local.36581.321253 |   1 -
 tests/.coverage.docker-2.local.38943.357232 |   1 -
 tests/.coverage.docker-2.local.38944.471090 |   1 -
 tests/.coverage.docker-2.local.38945.54089  |   1 -
 tests/.coverage.docker-2.local.38946.82776  |   1 -
 tests/.coverage.docker-2.local.38984.172622 |   1 -
 tests/.coverage.docker-2.local.38985.978020 |   1 -
 tests/.coverage.docker-2.local.38986.928811 |   1 -
 tests/.coverage.docker-2.local.38987.237434 |   1 -
 tests/.coverage.docker-2.local.38991.12925  |   4 -
 tests/.coverage.docker-2.local.38993.581713 |   4 -
 tests/.coverage.docker-2.local.39001.377317 |   2 -
 tests/.coverage.docker-2.local.39003.638674 |   2 -
 tests/.coverage.docker-2.local.39005.280448 |   2 -
 tests/cc.c                                  |   7 -
 tests/fakessh/ssh                           |   7 +-
 tests/log                                   | 370 ----------------------------
 tests/test_issue209.py                      |  23 --
 tests/test_pxssh.py                         |   9 +
 tests/test_replwrap.py                      |   9 +
 38 files changed, 50 insertions(+), 670 deletions(-)

diff --git a/MANIFEST.in b/MANIFEST.in
deleted file mode 100644
index 32c72ba..0000000
--- a/MANIFEST.in
+++ /dev/null
@@ -1,6 +0,0 @@
-recursive-include doc *
-prune doc/_build
-recursive-include examples *
-include .coveragerc README.rst LICENSE pexpect/bashrc.sh
-recursive-include tests *
-global-exclude __pycache__ *.pyc *~
diff --git a/PKG-INFO b/PKG-INFO
index aed0367..5d33a89 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pexpect
-Version: 4.2.0
+Version: 4.2.1
 Summary: Pexpect allows easy control of interactive console applications.
 Home-page: https://pexpect.readthedocs.io/
 Author: Noah Spurrier; Thomas Kluyver; Jeff Quast
diff --git a/doc/conf.py b/doc/conf.py
index f3de534..cda9f5d 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -54,7 +54,7 @@ copyright = u'2013, Noah Spurrier and contributors'
 # The short X.Y version.
 version = '4.2'
 # The full version, including alpha/beta/rc tags.
-release = '4.2.0'
+release = '4.2.1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/doc/history.rst b/doc/history.rst
index f90d515..bf38894 100644
--- a/doc/history.rst
+++ b/doc/history.rst
@@ -4,6 +4,13 @@ History
 Releases
 --------
 
+Version 4.2.1
+`````````````
+
+* Fix to allow running ``env`` in replwrap-ed bash.
+* Raise more informative exception from pxssh if it fails to connect.
+* Change ``passmass`` example to not log passwords entered.
+
 Version 4.2
 ```````````
 
diff --git a/examples/passmass.py b/examples/passmass.py
index dc362f5..c1ec4d0 100755
--- a/examples/passmass.py
+++ b/examples/passmass.py
@@ -46,7 +46,7 @@ def login(host, user, password):
 
     child = pexpect.spawn('ssh -l %s %s'%(user, host))
     fout = file ("LOG.TXT","wb")
-    child.logfile = fout
+    child.logfile_read = fout #use child.logfile to also log writes (passwords!)
 
     i = child.expect([pexpect.TIMEOUT, SSH_NEWKEY, '[Pp]assword: '])
     if i == 0: # Timeout
diff --git a/examples/telnet.py b/examples/telnet.py
deleted file mode 100644
index a4fba6c..0000000
--- a/examples/telnet.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/env python3
-
-import pexpect
-
-def main(airport_code):
-    output = ''
-    telnet = pexpect.spawn('telnet rainmaker.wunderground.com',
-                           encoding='latin1')
-    telnet.expect('Press Return to continue:')
-    telnet.sendline('')
-    telnet.expect('enter 3 letter forecast city code')
-    telnet.sendline(airport_code)
-    while telnet.expect(['X to exit:', 'Selection:']) == 0:
-        output += telnet.before
-        telnet.sendline('')
-    output += telnet.before
-    telnet.sendline('X')
-    telnet.expect(pexpect.EOF)
-    telnet.close()
-    print(output.strip())
-
-
-if __name__ == '__main__':
-    import sys
-    main(airport_code=sys.argv[1])
diff --git a/pexpect.egg-info/PKG-INFO b/pexpect.egg-info/PKG-INFO
deleted file mode 100644
index aed0367..0000000
--- a/pexpect.egg-info/PKG-INFO
+++ /dev/null
@@ -1,46 +0,0 @@
-Metadata-Version: 1.1
-Name: pexpect
-Version: 4.2.0
-Summary: Pexpect allows easy control of interactive console applications.
-Home-page: https://pexpect.readthedocs.io/
-Author: Noah Spurrier; Thomas Kluyver; Jeff Quast
-Author-email: noah at noah.org; thomas at kluyver.me.uk; contact at jeffquast.com
-License: ISC license
-Description: 
-        Pexpect is a pure Python module for spawning child applications; controlling
-        them; and responding to expected patterns in their output. Pexpect works like
-        Don Libes' Expect. Pexpect allows your script to spawn a child application and
-        control it as if a human were typing commands.
-        
-        Pexpect can be used for automating interactive applications such as ssh, ftp,
-        passwd, telnet, etc. It can be used to a automate setup scripts for duplicating
-        software package installations on different servers. It can be used for
-        automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
-        Pexpect is pure Python.
-        
-        The main features of Pexpect require the pty module in the Python standard
-        library, which is only available on Unix-like systems. Some features—waiting
-        for patterns from file descriptors or subprocesses—are also available on
-        Windows.
-        
-Platform: UNIX
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Environment :: Console
-Classifier: Intended Audience :: Developers
-Classifier: Intended Audience :: System Administrators
-Classifier: License :: OSI Approved :: ISC License (ISCL)
-Classifier: Operating System :: POSIX
-Classifier: Operating System :: MacOS :: MacOS X
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3
-Classifier: Topic :: Software Development
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Classifier: Topic :: Software Development :: Quality Assurance
-Classifier: Topic :: Software Development :: Testing
-Classifier: Topic :: System
-Classifier: Topic :: System :: Archiving :: Packaging
-Classifier: Topic :: System :: Installation/Setup
-Classifier: Topic :: System :: Shells
-Classifier: Topic :: System :: Software Distribution
-Classifier: Topic :: Terminals
diff --git a/pexpect.egg-info/SOURCES.txt b/pexpect.egg-info/SOURCES.txt
deleted file mode 100644
index cf6e4ca..0000000
--- a/pexpect.egg-info/SOURCES.txt
+++ /dev/null
@@ -1,150 +0,0 @@
-.coveragerc
-LICENSE
-MANIFEST.in
-README.rst
-setup.cfg
-setup.py
-doc/FAQ.rst
-doc/Makefile
-doc/clean.css
-doc/commonissues.rst
-doc/conf.py
-doc/examples.rst
-doc/history.rst
-doc/index.rst
-doc/install.rst
-doc/make.bat
-doc/overview.rst
-doc/requirements.txt
-doc/api/fdpexpect.rst
-doc/api/index.rst
-doc/api/pexpect.rst
-doc/api/popen_spawn.rst
-doc/api/pxssh.rst
-doc/api/replwrap.rst
-doc/sphinxext/github.py
-examples/README
-examples/astat.py
-examples/cgishell.cgi
-examples/chess.py
-examples/chess2.py
-examples/chess3.py
-examples/df.py
-examples/ftp.py
-examples/hive.py
-examples/monitor.py
-examples/passmass.py
-examples/python.py
-examples/script.py
-examples/ssh_tunnel.py
-examples/table_test.html
-examples/telnet.py
-examples/topip.py
-examples/uptime.py
-pexpect/ANSI.py
-pexpect/FSM.py
-pexpect/__init__.py
-pexpect/async.py
-pexpect/bashrc.sh
-pexpect/exceptions.py
-pexpect/expect.py
-pexpect/fdpexpect.py
-pexpect/popen_spawn.py
-pexpect/pty_spawn.py
-pexpect/pxssh.py
-pexpect/replwrap.py
-pexpect/run.py
-pexpect/screen.py
-pexpect/spawnbase.py
-pexpect/utils.py
-pexpect.egg-info/PKG-INFO
-pexpect.egg-info/SOURCES.txt
-pexpect.egg-info/dependency_links.txt
-pexpect.egg-info/requires.txt
-pexpect.egg-info/top_level.txt
-tests/.coverage.docker-2.local.36578.771124
-tests/.coverage.docker-2.local.36579.455415
-tests/.coverage.docker-2.local.36580.123114
-tests/.coverage.docker-2.local.36581.321253
-tests/.coverage.docker-2.local.38943.357232
-tests/.coverage.docker-2.local.38944.471090
-tests/.coverage.docker-2.local.38945.54089
-tests/.coverage.docker-2.local.38946.82776
-tests/.coverage.docker-2.local.38984.172622
-tests/.coverage.docker-2.local.38985.978020
-tests/.coverage.docker-2.local.38986.928811
-tests/.coverage.docker-2.local.38987.237434
-tests/.coverage.docker-2.local.38991.12925
-tests/.coverage.docker-2.local.38993.581713
-tests/.coverage.docker-2.local.39001.377317
-tests/.coverage.docker-2.local.39003.638674
-tests/.coverage.docker-2.local.39005.280448
-tests/PexpectTestCase.py
-tests/README
-tests/TESTDATA.txt
-tests/__init__.py
-tests/adhoc.py
-tests/alarm_die.py
-tests/bambi.vt
-tests/cc.c
-tests/depricated_test_filedescriptor.py
-tests/echo_w_prompt.py
-tests/echo_wait.py
-tests/exit1.py
-tests/exit667.c
-tests/getch.py
-tests/globe.vt
-tests/interact.py
-tests/list100.py
-tests/log
-tests/needs_kill.py
-tests/pexpectTest.py
-tests/qa.py
-tests/sigwinch_report.py
-tests/sleep_for.py
-tests/swapcase_echo.py
-tests/test_FSM.py
-tests/test_ansi.py
-tests/test_async.py
-tests/test_command_list_split.py
-tests/test_constructor.py
-tests/test_ctrl_chars.py
-tests/test_delay.py
-tests/test_destructor.py
-tests/test_dotall.py
-tests/test_env.py
-tests/test_expect.py
-tests/test_filedescriptor.py
-tests/test_interact.py
-tests/test_isalive.py
-tests/test_issue209.py
-tests/test_log.py
-tests/test_misc.py
-tests/test_missing_command.py
-tests/test_performance.py
-tests/test_pickling.py
-tests/test_popen_spawn.py
-tests/test_pxssh.py
-tests/test_replwrap.py
-tests/test_repr.py
-tests/test_run.py
-tests/test_run_out_of_pty.py
-tests/test_screen.py
-tests/test_socket.py
-tests/test_timeout_pattern.py
-tests/test_unicode.py
-tests/test_which.py
-tests/test_winsize.py
-tests/tetris.data
-tests/ticker.py
-tests/torturet.vt
-tests/utils.py
-tests/fakessh/ssh
-tests/platform_checks/README
-tests/platform_checks/check.py
-tests/platform_checks/check2.py
-tests/platform_checks/check_control_terminal.py
-tests/platform_checks/check_handler.py
-tests/platform_checks/check_read.py
-tests/platform_checks/check_signals.py
-tests/platform_checks/CSIGNALTEST/test.c
\ No newline at end of file
diff --git a/pexpect.egg-info/dependency_links.txt b/pexpect.egg-info/dependency_links.txt
deleted file mode 100644
index 8b13789..0000000
--- a/pexpect.egg-info/dependency_links.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/pexpect.egg-info/requires.txt b/pexpect.egg-info/requires.txt
deleted file mode 100644
index 13074f3..0000000
--- a/pexpect.egg-info/requires.txt
+++ /dev/null
@@ -1 +0,0 @@
-ptyprocess>=0.5
diff --git a/pexpect.egg-info/top_level.txt b/pexpect.egg-info/top_level.txt
deleted file mode 100644
index 808fb07..0000000
--- a/pexpect.egg-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-pexpect
diff --git a/pexpect/__init__.py b/pexpect/__init__.py
index 045fe36..6c509e6 100644
--- a/pexpect/__init__.py
+++ b/pexpect/__init__.py
@@ -75,7 +75,7 @@ if sys.platform != 'win32':
     from .pty_spawn import spawn, spawnu
     from .run import run, runu
 
-__version__ = '4.2.0'
+__version__ = '4.2.1'
 __revision__ = ''
 __all__ = ['ExceptionPexpect', 'EOF', 'TIMEOUT', 'spawn', 'spawnu', 'run', 'runu',
            'which', 'split_command_line', '__version__', '__revision__']
diff --git a/pexpect/pxssh.py b/pexpect/pxssh.py
index d5aec8a..a9c01d5 100644
--- a/pexpect/pxssh.py
+++ b/pexpect/pxssh.py
@@ -277,7 +277,7 @@ class pxssh (spawn):
         # This does not distinguish between a remote server 'password' prompt
         # and a local ssh 'passphrase' prompt (for unlocking a private key).
         spawn._spawn(self, cmd)
-        i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT, "(?i)connection closed by remote host"], timeout=login_timeout)
+        i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT, "(?i)connection closed by remote host", EOF], timeout=login_timeout)
 
         # First phase
         if i==0:
@@ -292,6 +292,9 @@ class pxssh (spawn):
         if i==4:
             self.sendline(terminal_type)
             i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT])
+        if i==7:
+            self.close()
+            raise ExceptionPxssh('Could not establish connection to host')
 
         # Second phase
         if i==0:
diff --git a/pexpect/replwrap.py b/pexpect/replwrap.py
index 6439b35..118aa9f 100644
--- a/pexpect/replwrap.py
+++ b/pexpect/replwrap.py
@@ -109,5 +109,14 @@ def bash(command="bash"):
     bashrc = os.path.join(os.path.dirname(__file__), 'bashrc.sh')
     child = pexpect.spawn(command, ['--rcfile', bashrc], echo=False,
                           encoding='utf-8')
-    return REPLWrapper(child, u'\$', u"PS1='{0}' PS2='{1}' PROMPT_COMMAND=''",
+
+    # If the user runs 'env', the value of PS1 will be in the output. To avoid
+    # replwrap seeing that as the next prompt, we'll embed the marker characters
+    # for invisible characters in the prompt; these show up when inspecting the
+    # environment variable, but not when bash displays the prompt.
+    ps1 = PEXPECT_PROMPT[:5] + u'\[\]' + PEXPECT_PROMPT[5:]
+    ps2 = PEXPECT_CONTINUATION_PROMPT[:5] + u'\[\]' + PEXPECT_CONTINUATION_PROMPT[5:]
+    prompt_change = u"PS1='{0}' PS2='{1}' PROMPT_COMMAND=''".format(ps1, ps2)
+
+    return REPLWrapper(child, u'\$', prompt_change,
                        extra_init_cmd="export PAGER=cat")
diff --git a/setup.cfg b/setup.cfg
index 23bfafb..87fce02 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,10 +2,4 @@
 norecursedirs = .git
 
 [bdist_wheel]
-universal = 1
-
-[egg_info]
-tag_build = 
-tag_date = 0
-tag_svn_revision = 0
-
+universal=1
diff --git a/tests/.coverage.docker-2.local.36578.771124 b/tests/.coverage.docker-2.local.36578.771124
deleted file mode 100644
index 7549fcc..0000000
--- a/tests/.coverage.docker-2.local.36578.771124
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}u.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.36579.455415 b/tests/.coverage.docker-2.local.36579.455415
deleted file mode 100644
index 7549fcc..0000000
--- a/tests/.coverage.docker-2.local.36579.455415
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}u.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.36580.123114 b/tests/.coverage.docker-2.local.36580.123114
deleted file mode 100644
index 7549fcc..0000000
--- a/tests/.coverage.docker-2.local.36580.123114
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}u.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.36581.321253 b/tests/.coverage.docker-2.local.36581.321253
deleted file mode 100644
index 7549fcc..0000000
--- a/tests/.coverage.docker-2.local.36581.321253
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}u.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38943.357232 b/tests/.coverage.docker-2.local.38943.357232
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38943.357232
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38944.471090 b/tests/.coverage.docker-2.local.38944.471090
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38944.471090
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38945.54089 b/tests/.coverage.docker-2.local.38945.54089
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38945.54089
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38946.82776 b/tests/.coverage.docker-2.local.38946.82776
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38946.82776
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38984.172622 b/tests/.coverage.docker-2.local.38984.172622
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38984.172622
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38985.978020 b/tests/.coverage.docker-2.local.38985.978020
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38985.978020
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38986.928811 b/tests/.coverage.docker-2.local.38986.928811
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38986.928811
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38987.237434 b/tests/.coverage.docker-2.local.38987.237434
deleted file mode 100644
index 0d1f27a..0000000
--- a/tests/.coverage.docker-2.local.38987.237434
+++ /dev/null
@@ -1 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38991.12925 b/tests/.coverage.docker-2.local.38991.12925
deleted file mode 100644
index bd32fb3..0000000
--- a/tests/.coverage.docker-2.local.38991.12925
+++ /dev/null
@@ -1,4 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U+/Users/docker/Code/pexpect/pexpect/async.pyq]U//Users/docker/Code/pexpect/pexpect/spawnbase.pyq]q	(K'K(K)K+K,K-K.K/K0K1K2K3K5K7K8K9K:K<K>K at KBKDKGKJKMKNKOKPKSKVKWKiKsKtK{K}K~K�K�K�K�K�K�K�K�K�K�K�K�K�K�MMMM(M)M+M,M0eU5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq
-]U)/Users/docker/Code/pexpect/pexpect/FSM.pyq
]U0/Users/docker/Code/pexpect/pexpect/exceptions.pyq
]q
(K
K
eU4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U,/Users/docker/Code/pexpect/pexpect/expect.pyq]q(KKK	K
-K
KKKKKKK
K K!K#K$K%K&K'K(K)K*KOKPKRKSKUKVKWKXKYK[K^KaKbKcKdKeKfK�K�K�K�K�K�K�MMMMM$M%eU0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U//Users/docker/Code/pexpect/pexpect/pty_spawn.pyq]q(KKK�K�K�K�K�K�K�K�K�K�K�K�K�K�K�K�K�MMMMM
-M
M
MMMMMMMM
MM M�M�M�M�M�M�M�M�M
M%M&M5M�M�M�M�M�MMMMMeU./Users/docker/Code/pexpect/pexpect/__init__.pyq]U*/Users/docker/Code/pexpect/pexpect/ANSI.pyq]U//Users/docker/Code/pexpect/pexpect/fdpexpect.pyq]U+/Users/docker/Code/pexpect/pexpect/utils.pyq]q(K
KKKKKK(K*K-K.K/K0K1K2K=K>KAKBKCKDKFKGKIKJKKKNKQKTK^K_KnKoKpeU./Users/docker/Code/pexpect/pexpect/replwrap.pyq]U+/Users/docker/Code/pexpect/pexpect/pxssh.pyq]U,/Users/docker/Code/pexpect [...]
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.38993.581713 b/tests/.coverage.docker-2.local.38993.581713
deleted file mode 100644
index bd32fb3..0000000
--- a/tests/.coverage.docker-2.local.38993.581713
+++ /dev/null
@@ -1,4 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U+/Users/docker/Code/pexpect/pexpect/async.pyq]U//Users/docker/Code/pexpect/pexpect/spawnbase.pyq]q	(K'K(K)K+K,K-K.K/K0K1K2K3K5K7K8K9K:K<K>K at KBKDKGKJKMKNKOKPKSKVKWKiKsKtK{K}K~K�K�K�K�K�K�K�K�K�K�K�K�K�K�MMMM(M)M+M,M0eU5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq
-]U)/Users/docker/Code/pexpect/pexpect/FSM.pyq
]U0/Users/docker/Code/pexpect/pexpect/exceptions.pyq
]q
(K
K
eU4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq]U,/Users/docker/Code/pexpect/pexpect/expect.pyq]q(KKK	K
-K
KKKKKKK
K K!K#K$K%K&K'K(K)K*KOKPKRKSKUKVKWKXKYK[K^KaKbKcKdKeKfK�K�K�K�K�K�K�MMMMM$M%eU0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U//Users/docker/Code/pexpect/pexpect/pty_spawn.pyq]q(KKK�K�K�K�K�K�K�K�K�K�K�K�K�K�K�K�K�MMMMM
-M
M
MMMMMMMM
MM M�M�M�M�M�M�M�M�M
M%M&M5M�M�M�M�M�MMMMMeU./Users/docker/Code/pexpect/pexpect/__init__.pyq]U*/Users/docker/Code/pexpect/pexpect/ANSI.pyq]U//Users/docker/Code/pexpect/pexpect/fdpexpect.pyq]U+/Users/docker/Code/pexpect/pexpect/utils.pyq]q(K
KKKKKK(K*K-K.K/K0K1K2K=K>KAKBKCKDKFKGKIKJKKKNKQKTK^K_KnKoKpeU./Users/docker/Code/pexpect/pexpect/replwrap.pyq]U+/Users/docker/Code/pexpect/pexpect/pxssh.pyq]U,/Users/docker/Code/pexpect [...]
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.39001.377317 b/tests/.coverage.docker-2.local.39001.377317
deleted file mode 100644
index d9c09c9..0000000
--- a/tests/.coverage.docker-2.local.39001.377317
+++ /dev/null
@@ -1,2 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U+/Users/docker/Code/pexpect/pexpect/async.pyq]U//Users/docker/Code/pexpect/pexpect/spawnbase.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]U)/Users/docker/Code/pexpect/pexpect/FSM.pyq
-]U0/Users/docker/Code/pexpect/pexpect/exceptions.pyq
]U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq
]U,/Users/docker/Code/pexpect/pexpect/expect.pyq
]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U//Users/docker/Code/pexpect/pexpect/fdpexpect.pyq]U./Users/docker/Code/pexpect/pexpect/__init__.pyq]U*/Users/docker/Code/pexpect/pexpect/ANSI.pyq]U//Users/docker/Code/pexpect/pexpect/pty_spawn.pyq]U+/Users/docker/Code/pexpect/pexpect/utils.pyq]U./Users/docker/Code/pexpect/pexpect/replwrap.pyq]U+/Users/docker/Code/pexpect/pexpect/pxssh.pyq]U,/Users/docker/Code/pexpect/pexpect/screen.pyq]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.39003.638674 b/tests/.coverage.docker-2.local.39003.638674
deleted file mode 100644
index d9c09c9..0000000
--- a/tests/.coverage.docker-2.local.39003.638674
+++ /dev/null
@@ -1,2 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U+/Users/docker/Code/pexpect/pexpect/async.pyq]U//Users/docker/Code/pexpect/pexpect/spawnbase.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]U)/Users/docker/Code/pexpect/pexpect/FSM.pyq
-]U0/Users/docker/Code/pexpect/pexpect/exceptions.pyq
]U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq
]U,/Users/docker/Code/pexpect/pexpect/expect.pyq
]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U//Users/docker/Code/pexpect/pexpect/fdpexpect.pyq]U./Users/docker/Code/pexpect/pexpect/__init__.pyq]U*/Users/docker/Code/pexpect/pexpect/ANSI.pyq]U//Users/docker/Code/pexpect/pexpect/pty_spawn.pyq]U+/Users/docker/Code/pexpect/pexpect/utils.pyq]U./Users/docker/Code/pexpect/pexpect/replwrap.pyq]U+/Users/docker/Code/pexpect/pexpect/pxssh.pyq]U,/Users/docker/Code/pexpect/pexpect/screen.pyq]uu.
\ No newline at end of file
diff --git a/tests/.coverage.docker-2.local.39005.280448 b/tests/.coverage.docker-2.local.39005.280448
deleted file mode 100644
index d9c09c9..0000000
--- a/tests/.coverage.docker-2.local.39005.280448
+++ /dev/null
@@ -1,2 +0,0 @@
-�}q(U	collectorqUcoverage v3.7.1qUlinesq}q(U6/Users/docker/Code/ptyprocess/ptyprocess/ptyprocess.pyq]U+/Users/docker/Code/pexpect/pexpect/async.pyq]U//Users/docker/Code/pexpect/pexpect/spawnbase.pyq]U5/Users/docker/Code/ptyprocess/ptyprocess/_fork_pty.pyq	]U)/Users/docker/Code/pexpect/pexpect/FSM.pyq
-]U0/Users/docker/Code/pexpect/pexpect/exceptions.pyq
]U4/Users/docker/Code/ptyprocess/ptyprocess/__init__.pyq
]U,/Users/docker/Code/pexpect/pexpect/expect.pyq
]U0/Users/docker/Code/ptyprocess/ptyprocess/util.pyq]U//Users/docker/Code/pexpect/pexpect/fdpexpect.pyq]U./Users/docker/Code/pexpect/pexpect/__init__.pyq]U*/Users/docker/Code/pexpect/pexpect/ANSI.pyq]U//Users/docker/Code/pexpect/pexpect/pty_spawn.pyq]U+/Users/docker/Code/pexpect/pexpect/utils.pyq]U./Users/docker/Code/pexpect/pexpect/replwrap.pyq]U+/Users/docker/Code/pexpect/pexpect/pxssh.pyq]U,/Users/docker/Code/pexpect/pexpect/screen.pyq]uu.
\ No newline at end of file
diff --git a/tests/cc.c b/tests/cc.c
deleted file mode 100644
index 0ea2277..0000000
--- a/tests/cc.c
+++ /dev/null
@@ -1,7 +0,0 @@
-/* Compile with "gcc -o weirdness weirdness.c" */
-#include <stdio.h>
-
-int main(void)
-{
-        fprintf(stderr, "Blorp.\n");
-}
diff --git a/tests/fakessh/ssh b/tests/fakessh/ssh
index 28eedc4..d3259e4 100755
--- a/tests/fakessh/ssh
+++ b/tests/fakessh/ssh
@@ -7,6 +7,11 @@ PY3 = (sys.version_info[0] >= 3)
 if not PY3:
     input = raw_input
 
+server = sys.argv[-1]
+if server == 'noserver':
+    print('No route to host')
+    sys.exit(1)
+
 print("Mock SSH client for tests. Do not enter real security info.")
 
 pw = getpass.getpass('password:')
@@ -26,4 +31,4 @@ while True:
     elif cmd == 'echo $?':
         print(0)
     elif cmd in ('exit', 'logout'):
-        break
\ No newline at end of file
+        break
diff --git a/tests/log b/tests/log
index e35de24..616064d 100644
--- a/tests/log
+++ b/tests/log
@@ -18,373 +18,3 @@ P,ESC
 P,ESC
 \,ESC
 r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-r,SEMICOLON
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
-P,ESC
-\,ESC
... 82 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pexpect.git



More information about the Python-modules-commits mailing list