From f6e799e940ac9f2ad61fee6cb3dd02d625c54fd2 Mon Sep 17 00:00:00 2001 From: "philipp.roth" Date: Tue, 8 Nov 2022 08:35:06 +0100 Subject: [PATCH 1/2] Add log_input=True to pipe_io_stdin test --- lib/tlitest/test_tlog_rec_session.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/tlitest/test_tlog_rec_session.py b/lib/tlitest/test_tlog_rec_session.py index eba34d8..3e8588a 100644 --- a/lib/tlitest/test_tlog_rec_session.py +++ b/lib/tlitest/test_tlog_rec_session.py @@ -215,6 +215,8 @@ def test_session_record_pipe_io_stdin(self): """ Pipe I/O through stdin """ + sessionclass = TlogRecSessionConfig(log_input=True) + sessionclass.generate_config(SYSTEM_TLOG_REC_SESSION_CONF) text_in_stdio = 'print("hello world")\n' text_out = "hello world" p = Popen(['sshpass', '-p', 'Secret123', 'ssh', '-o', From 1b4460e9587fca6d212ef1ba7032aa0999341f72 Mon Sep 17 00:00:00 2001 From: "philipp.roth" Date: Tue, 8 Nov 2022 08:49:42 +0100 Subject: [PATCH 2/2] Fix Integration test due to Github Action issue --- .github/workflows/intg.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/intg.yml b/.github/workflows/intg.yml index ee890d7..988bae8 100644 --- a/.github/workflows/intg.yml +++ b/.github/workflows/intg.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Build the Docker image - run: sudo podman build . --file Dockerfile.fedora --tag ${IMAGE} + run: sudo -E XDG_RUNTIME_DIR= podman build . --file Dockerfile.fedora --tag ${IMAGE} - name: Run the container run: sudo podman run --privileged --security-opt seccomp=unconfined --detach -p 80:80 --name=${CONTAINER} ${IMAGE} - name: Check the container is up