Skip to content

Commit

Permalink
Fixup tests for v8
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-stephenson committed May 22, 2020
1 parent f688286 commit 7a93e7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tlitest/test_tlog_rec_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def test_session_record_pipe_io_stdin(self):
"""
text_in_stdio = 'print("hello world")\n'
text_out = "hello world"
p = Popen(['sshpass', '-p', 'Secret123', 'ssh', 'tlitestlocaluser2@localhost', 'python3.7'],
p = Popen(['sshpass', '-p', 'Secret123', 'ssh', 'tlitestlocaluser2@localhost', 'python3'],
stdout=PIPE, stdin=PIPE, stderr=PIPE, encoding='utf8')
stdout_data = p.communicate(input=text_in_stdio)[0]
assert text_out in stdout_data
Expand Down
2 changes: 2 additions & 0 deletions src/tlitest/tlitest-setup
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
PKGS="
systemd-journal-remote
glibc-all-langpacks
python3
python3-pytest
python3-pexpect
python3-systemd
Expand All @@ -17,6 +18,7 @@ if [ -f "$PKGSFILE" ]; then
fi

echo "Check and install packages to run tlog integration tests"
dnf config-manager --enable epel
for P in $PKGS; do
rpm -q "$P" > /dev/null
if [ $? -ne 0 ]; then
Expand Down

0 comments on commit 7a93e7c

Please sign in to comment.