]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use "sudo rmdir" to remove test data of multiple_rsync.sh 4964/head
authorYan, Zheng <zyan@redhat.com>
Tue, 16 Jun 2015 01:40:35 +0000 (09:40 +0800)
committerYan, Zheng <zyan@redhat.com>
Tue, 16 Jun 2015 07:06:22 +0000 (15:06 +0800)
Fixes: #12019
Signed-off-by: Yan, Zheng <zyan@redhat.com>
qa/workunits/fs/misc/multiple_rsync.sh

index 36c23cb3f11e719cd8859da08d514c1964576108..87a9761e809b798a6fb0079fc0f8c28a4e27c7a3 100755 (executable)
@@ -19,8 +19,7 @@ wc -l /tmp/$$ | grep 4
 sudo rsync -auv $PAYLOAD payload.2 | tee /tmp/$$
 hexdump -C /tmp/$$
 wc -l /tmp/$$ | grep 4
-rm /tmp/$$
-
 echo OK
 
-rm -rf $PAYLOAD
+rm /tmp/$$
+sudo rm -rf $PAYLOAD