From b904bf39bdcebec32ba7d6f11e4be5f5e044591e Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Thu, 25 Jan 2024 17:10:05 -0500 Subject: [PATCH] bin/testflinger-run: allow passing additional args, needed for tests/cluster Signed-off-by: Simon Deziel --- bin/testflinger-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/testflinger-run b/bin/testflinger-run index 6d4b28b51..d5dbfd4ce 100755 --- a/bin/testflinger-run +++ b/bin/testflinger-run @@ -66,7 +66,7 @@ test_data: \$SCP "\${_script}" "ubuntu@\${DEVICE_IP}:test-script" # Run the test - \$SSH "ubuntu@\${DEVICE_IP}" -- sudo bash test-script + \$SSH "ubuntu@\${DEVICE_IP}" -- sudo bash test-script $@ EOF } @@ -87,4 +87,4 @@ setup_testflinger # Submit the job echo "==> Running the job ${test_name} against ${lxd_snap_channel}" >&2 -testflinger_yaml_job | testflinger submit --poll - +testflinger_yaml_job "$*" | testflinger submit --poll -