mirror of
https://github.com/ceph/ceph
synced 2025-01-11 13:41:02 +00:00
qa: add multiple_rsync.sh workunit
For #1318 Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
82776e155a
commit
9ff3505751
13
qa/workunits/misc/multiple_rsync.sh
Executable file
13
qa/workunits/misc/multiple_rsync.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh -ex
|
||||
|
||||
rsync -av /usr/ usr.1
|
||||
rsync -av /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
|
||||
wc -l a | grep 4
|
||||
rsync -auv /usr/ usr.2 | tee a
|
||||
wc -l a | grep 4
|
||||
|
||||
echo OK
|
Loading…
Reference in New Issue
Block a user