mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
Closes: https://bugs.gentoo.org/629754 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
17 lines
662 B
Diff
17 lines
662 B
Diff
From: whitley-delamora <62795654+whitley-delamora@users.noreply.github.com>
|
|
Date: Sat, 28 Mar 2020 13:46:47 +0100
|
|
Subject: [PATCH] REPLWrapTestCase.test_bash_env(): export variable PS1
|
|
|
|
https://github.com/pexpect/pexpect/commit/51c0b09f92f140eda10b62d234710f65ad56dee2
|
|
|
|
--- a/tests/test_replwrap.py
|
|
+++ b/tests/test_replwrap.py
|
|
@@ -45,6 +45,7 @@ def test_bash_env(self):
|
|
"""env, which displays PS1=..., should not mess up finding the prompt.
|
|
"""
|
|
bash = replwrap.bash()
|
|
+ res = bash.run_command("export PS1")
|
|
res = bash.run_command("env")
|
|
self.assertIn('PS1', res)
|
|
res = bash.run_command("echo $HOME")
|