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

Chris Lumens clumens at redhat.com
Mon Mar 2 20:02:02 UTC 2015


---
 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



More information about the anaconda-patches mailing list