[PATCH] Have to be root to delete /var/tmp/kstest-* on the remote machines.

Brian C. Lane bcl at redhat.com
Mon Mar 2 23:22:44 UTC 2015


On Mon, Mar 02, 2015 at 03:02:02PM -0500, Chris Lumens wrote:
> ---
>  tests/kickstart_tests/run_kickstart_tests.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/kickstart_tests/run_kickstart_tests.sh b/tests/kickstart_tests/run_kickstart_tests.sh
> index 2024cdd..473cfcb 100755
> --- a/tests/kickstart_tests/run_kickstart_tests.sh
> +++ b/tests/kickstart_tests/run_kickstart_tests.sh
> @@ -121,7 +121,7 @@ if [[ "$TEST_REMOTES" != "" ]]; then
>              scp -r kstest@${remote}:/var/tmp/kstest-\* /var/tmp/
>          fi
>  
> -        ssh kstest@${remote} rm -rf kickstart_tests /var/tmp/kstest-\*
> +        ssh kstest@${remote} sudo rm -rf kickstart_tests /var/tmp/kstest-\*
>      done
>  
>      # (3a) And then also remove the copy of the image we made earlier.
> -- 
> 2.2.2

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list