From f66bf31b6743246fb1c88238cf18101238dee3a4 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/fs/misc/multiple_rsync.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qa/workunits/fs/misc/multiple_rsync.sh b/qa/workunits/fs/misc/multiple_rsync.sh index 61ee283170495..4a1d0a183a656 100755 --- a/qa/workunits/fs/misc/multiple_rsync.sh +++ b/qa/workunits/fs/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.39.5