diff options
author | Thomas Haller <thaller@redhat.com> | 2021-01-22 11:48:09 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-01-22 13:15:27 +0100 |
commit | 462668b0c33c10eda2ef1845a7e29d057c4eaa4e (patch) | |
tree | 32f6110e4fba178134e4eca6581f0c596dab2776 | |
parent | ad0819081df7d2aafaf951bbb8fa7448d3f1760c (diff) | |
download | NetworkManager-462668b0c33c10eda2ef1845a7e29d057c4eaa4e.tar.gz |
tools: fix parameters to "tools/run-nm-test.sh" in mixed order
Fixes: 608b5f051570 ('tools: parse parameters to "tools/run-nm-test.sh" in mixed order')
-rwxr-xr-x | tools/run-nm-test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/run-nm-test.sh b/tools/run-nm-test.sh index d08b9fdaaf..9a5015f6a3 100755 --- a/tools/run-nm-test.sh +++ b/tools/run-nm-test.sh @@ -148,10 +148,10 @@ else ;; *) if test -z "${TEST+x}"; then - TEST="$1"; - shift + TEST="$1"; + else + TEST_ARGV+=("$1") fi - TEST_ARGV+=("$1") shift ;; esac |