[PATCH] Tweak parallel args.

David Shea dshea at redhat.com
Thu Feb 12 19:11:24 UTC 2015


On 02/12/2015 02:09 PM, Chris Lumens wrote:
> (1) --filter-hosts is currently alpha-level and filters out localhost when
> "--sshlogin :" is used, but only on one system here.
>
> (2) Don't print out all that introductory text.
> ---
>   tests/kickstart_tests/run_kickstart_tests.sh | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/kickstart_tests/run_kickstart_tests.sh b/tests/kickstart_tests/run_kickstart_tests.sh
> index 2f4c124..2024cdd 100755
> --- a/tests/kickstart_tests/run_kickstart_tests.sh
> +++ b/tests/kickstart_tests/run_kickstart_tests.sh
> @@ -103,7 +103,7 @@ if [[ "$TEST_REMOTES" != "" ]]; then
>           remote_args="${remote_args} --sshlogin kstest@${remote}"
>       done
>   
> -    parallel --filter-hosts ${remote_args} \
> +    parallel --no-notice ${remote_args} \
>                ${env_args} --jobs ${TEST_JOBS:-2} \
>                sudo kickstart_tests/run_one_ks.sh -i ${_IMAGE} -k ${KEEPIT} {}
>       rc=$?
> @@ -131,7 +131,7 @@ if [[ "$TEST_REMOTES" != "" ]]; then
>       # code will be caught outside and converted into the overall exit code.
>       exit ${rc}
>   else
> -    parallel ${env_args} --jobs ${TEST_JOBS:-2} \
> +    parallel --no-notice ${env_args} --jobs ${TEST_JOBS:-2} \
>                sudo kickstart_tests/run_one_ks.sh -i ${IMAGE} -k ${KEEPIT} {}
>   
>       # For future expansion - any cleanup code can go in between the variable

Looks good


More information about the anaconda-patches mailing list