From d6866fed1b5c68b9fc36e33b351032c481ba8c28 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 30 Sep 2026 15:07:06 +0500 Subject: test: minor refactoring --- test/lib/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/lib/test.sh b/test/lib/test.sh index 30c4ce1..fabde0b 100644 --- a/test/lib/test.sh +++ b/test/lib/test.sh @@ -20,6 +20,7 @@ test_cleanup_default() { } test_run_module() { - log_run python -m "$@" - PYTHONPATH="$script_dir/.." python -m "$@" + local cmd=(python -m "$@") + log_run "${cmd[@]}" + PYTHONPATH="$script_dir/.." "${cmd[@]}" } -- cgit v1.3