]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use sudo when rsyncing /usr so we can read everything
authorGreg Farnum <greg@inktank.com>
Tue, 21 Oct 2014 17:55:06 +0000 (10:55 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 28 Jan 2015 19:44:22 +0000 (11:44 -0800)
Signed-off-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit fa07c04231db2d130de54647957ffab4a7a53733)

qa/workunits/misc/multiple_rsync.sh

index 089db63d5e41c84a23960fa065683fdfc4211a65..61ee28317049532b6661ece79e5b0eacc0d2d1e3 100755 (executable)
@@ -8,7 +8,7 @@ echo we should get 4 here if no additional files are transfered
 rsync -auv --exclude local/ /usr/ usr.1 | tee /tmp/$$
 hexdump -C /tmp/$$
 wc -l /tmp/$$ | grep 4
-rsync -auv --exclude local/ /usr/ usr.2 | tee /tmp/$$
+sudo rsync -auv --exclude local/ /usr/ usr.2 | tee /tmp/$$
 hexdump -C /tmp/$$
 wc -l /tmp/$$ | grep 4
 rm /tmp/$$