From 9be5c8a8659ff485779337d10a75724f1696c918 Mon Sep 17 00:00:00 2001 From: Keurfon Luu Date: Tue, 9 Jan 2024 15:34:19 +0100 Subject: [PATCH] fix unix tests --- tests/test_run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_run.py b/tests/test_run.py index 1375e9da..569281ce 100644 --- a/tests/test_run.py +++ b/tests/test_run.py @@ -77,13 +77,13 @@ def test_run_windows(exec, workers, docker, wsl, cmd): "tough-exec", None, "docker-image", - "docker run --rm PLACEHOLDER -v ${PWD}:/shared -w /shared docker-image tough-exec INFILE INFILE.out", + "docker run --name CONTAINER --rm --volume ${PWD}:/shared --workdir /shared docker-image tough-exec INFILE INFILE.out", ), ( "tough-exec", 8, "docker-image", - "docker run --rm PLACEHOLDER -v ${PWD}:/shared -w /shared docker-image mpiexec -n 8 tough-exec INFILE INFILE.out", + "docker run --name CONTAINER --rm --volume ${PWD}:/shared --workdir /shared docker-image mpiexec -n 8 tough-exec INFILE INFILE.out", ), ], )