X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fqa%2Fworkunits%2Ffs%2Fmisc%2Fmultiple_rsync.sh;fp=src%2Fceph%2Fqa%2Fworkunits%2Ffs%2Fmisc%2Fmultiple_rsync.sh;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=4397c1e7fa550b8d00fd1a5d5d0ca0dfbf2cd0ad;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/qa/workunits/fs/misc/multiple_rsync.sh b/src/ceph/qa/workunits/fs/misc/multiple_rsync.sh deleted file mode 100755 index 4397c1e..0000000 --- a/src/ceph/qa/workunits/fs/misc/multiple_rsync.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -ex - - -# Populate with some arbitrary files from the local system. Take -# a copy to protect against false fails from system updates during test. -export PAYLOAD=/tmp/multiple_rsync_payload.$$ -sudo cp -r /usr/lib/ $PAYLOAD - -set -e - -sudo rsync -av $PAYLOAD payload.1 -sudo rsync -av $PAYLOAD payload.2 - -# this shouldn't transfer any additional files -echo we should get 4 here if no additional files are transferred -sudo rsync -auv $PAYLOAD payload.1 | tee /tmp/$$ -hexdump -C /tmp/$$ -wc -l /tmp/$$ | grep 4 -sudo rsync -auv $PAYLOAD payload.2 | tee /tmp/$$ -hexdump -C /tmp/$$ -wc -l /tmp/$$ | grep 4 -echo OK - -rm /tmp/$$ -sudo rm -rf $PAYLOAD