diff options
author | Sage Weil <sage@inktank.com> | 2013-05-11 17:36:13 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-05-11 17:36:13 -0700 |
commit | 82211f2197241c4f3d3135fd5d7f0aa776eaeeb6 (patch) | |
tree | c18d595ad811efc7cd54b625d218e1ac3e918e1d /qa | |
parent | fd901056831586e8135e28c8f4ba9c2ec44dfcf6 (diff) | |
download | ceph-82211f2197241c4f3d3135fd5d7f0aa776eaeeb6.tar.gz |
qa: rsync test: exclude /usr/local
Some plana have non-world-readable crap in /usr/local/samba. Avoid
/usr/local entirely for that and any similar landmines.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/workunits/misc/multiple_rsync.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/workunits/misc/multiple_rsync.sh b/qa/workunits/misc/multiple_rsync.sh index 945eb8186c8..707a4b2341a 100755 --- a/qa/workunits/misc/multiple_rsync.sh +++ b/qa/workunits/misc/multiple_rsync.sh @@ -1,13 +1,13 @@ #!/bin/sh -ex -rsync -av /usr/ usr.1 -rsync -av /usr/ usr.2 +rsync -av --exclude local/ /usr/ usr.1 +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 /usr/ usr.1 | tee a +rsync -auv --exclude local/ /usr/ usr.1 | tee a wc -l a | grep 4 -rsync -auv /usr/ usr.2 | tee a +rsync -auv --exclude local/ /usr/ usr.2 | tee a wc -l a | grep 4 echo OK
\ No newline at end of file |