From 18a40ff2fc23c3e1dd217a096b30fdefaece58db Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Thu, 6 Nov 2014 17:48:01 -0800 Subject: [PATCH] qa: use sudo even more when rsyncing /usr Signed-off-by: Greg Farnum (cherry picked from commit 3aa7797741f9cff06053a2f31550fe6929039692) --- qa/workunits/misc/multiple_rsync.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qa/workunits/misc/multiple_rsync.sh b/qa/workunits/misc/multiple_rsync.sh index 61ee28317049..4a1d0a183a65 100755 --- a/qa/workunits/misc/multiple_rsync.sh +++ b/qa/workunits/misc/multiple_rsync.sh @@ -1,11 +1,11 @@ #!/bin/sh -ex -rsync -av --exclude local/ /usr/ usr.1 -rsync -av --exclude local/ /usr/ usr.2 +sudo rsync -av --exclude local/ /usr/ usr.1 +sudo rsync -av --exclude local/ /usr/ usr.2 # this shouldn't transfer any additional files echo we should get 4 here if no additional files are transfered -rsync -auv --exclude local/ /usr/ usr.1 | tee /tmp/$$ +sudo rsync -auv --exclude local/ /usr/ usr.1 | tee /tmp/$$ hexdump -C /tmp/$$ wc -l /tmp/$$ | grep 4 sudo rsync -auv --exclude local/ /usr/ usr.2 | tee /tmp/$$ @@ -13,4 +13,4 @@ hexdump -C /tmp/$$ wc -l /tmp/$$ | grep 4 rm /tmp/$$ -echo OK \ No newline at end of file +echo OK -- 2.47.3