From 7a93e7c20f86b4ad22097feebbcb775c2d0ec0fd Mon Sep 17 00:00:00 2001 From: Justin Stephenson Date: Fri, 22 May 2020 15:15:20 -0400 Subject: [PATCH] Fixup tests for v8 --- lib/tlitest/test_tlog_rec_session.py | 2 +- src/tlitest/tlitest-setup | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/tlitest/test_tlog_rec_session.py b/lib/tlitest/test_tlog_rec_session.py index 4af1d6d5..e0910f46 100644 --- a/lib/tlitest/test_tlog_rec_session.py +++ b/lib/tlitest/test_tlog_rec_session.py @@ -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 diff --git a/src/tlitest/tlitest-setup b/src/tlitest/tlitest-setup index 52628d51..fc2582a6 100755 --- a/src/tlitest/tlitest-setup +++ b/src/tlitest/tlitest-setup @@ -3,6 +3,7 @@ PKGS=" systemd-journal-remote glibc-all-langpacks +python3 python3-pytest python3-pexpect python3-systemd @@ -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