]> git.apps.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 <greg@inktank.com>
Thu, 23 Oct 2014 00:11:32 +0000 (17:11 -0700)
Signed-off-by: Greg Farnum <greg@inktank.com>
qa/workunits/fs/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/$$