test receiving of sent files
[cloudstore.git] / test.sh
diff --git a/test.sh b/test.sh
index 7f532e1..829c9a6 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -95,6 +95,10 @@ __SEND__
 # order is important! .sync must be last!
 push send dir1 dir2 .sync -rv
 
+# test receiving of sent files
+mkdir /tmp/test/$RSYNC_LOGIN2
+RSYNC_PASSWORD=secret rsync -rv rsync://$RSYNC_LOGIN2@127.0.0.1:6501/$RSYNC_LOGIN2/received/ /tmp/test/$RSYNC_LOGIN2
+
 
 # test file move