Permalink
Browse files

Change to match current resync-client arguments

  • Loading branch information...
1 parent a662005 commit 00f45fe672c006a6692420863c3ed184665620b7 @zimeon zimeon committed Aug 1, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 docs/resync-client/test.sh
View
@@ -8,27 +8,27 @@ echo "I am file_a" > /tmp/rs_test/src/file_a
echo "I am file_b, bigger than file_a" > /tmp/rs_test/src/file_b
mkdir /tmp/rs_test/dst
echo "### Make sitemap for this local collection"
-./resync-client -s /tmp/rs_test/src=/tmp/rs_test/src > /tmp/rs_test/src/sitemap.xml
+./resync-client -w /tmp/rs_test/src=/tmp/rs_test/src > /tmp/rs_test/src/sitemap.xml
ls -l /tmp/rs_test/src
echo "### Do resync... (should copy 2 new resources)"
-./resync-client /tmp/rs_test/src/sitemap.xml /tmp/rs_test/dst
+./resync-client -s /tmp/rs_test/src=/tmp/rs_test/dst
ls -l /tmp/rs_test/src /tmp/rs_test/dst
echo "### Do resync again, no changes"
-./resync-client /tmp/rs_test/src/sitemap.xml /tmp/rs_test/dst
+./resync-client -s /tmp/rs_test/src=/tmp/rs_test/dst
echo "### Updating file_a on src"
echo "I am the new version of file_a" > /tmp/rs_test/src/file_a
-./resync-client -s /tmp/rs_test/src=/tmp/rs_test/src > /tmp/rs_test/src/sitemap.xml
+./resync-client -w /tmp/rs_test/src=/tmp/rs_test/src > /tmp/rs_test/src/sitemap.xml
ls -l /tmp/rs_test/src /tmp/rs_test/dst
echo "### Do resync... (should report 1 changed resource)"
-./resync-client /tmp/rs_test/src/sitemap.xml /tmp/rs_test/dst
+./resync-client -s /tmp/rs_test/src=/tmp/rs_test/dst
ls -l /tmp/rs_test/src /tmp/rs_test/dst
echo "### Delete file_a on src"
rm /tmp/rs_test/src/file_a
-./resync-client -s /tmp/rs_test/src=/tmp/rs_test/src > /tmp/rs_test/src/sitemap.xml
+./resync-client -w /tmp/rs_test/src=/tmp/rs_test/src > /tmp/rs_test/src/sitemap.xml
ls -l /tmp/rs_test/src /tmp/rs_test/dst
echo "### Do resync... (should report 1 deleted resource, but no update)"
-./resync-client /tmp/rs_test/src/sitemap.xml /tmp/rs_test/dst
+./resync-client -s /tmp/rs_test/src=/tmp/rs_test/dst
ls -l /tmp/rs_test/src /tmp/rs_test/dst
echo "### Do resync... (should report 1 deleted resource, now actually deletes)"
-./resync-client --delete /tmp/rs_test/src/sitemap.xml /tmp/rs_test/dst
+./resync-client -s --delete /tmp/rs_test/src=/tmp/rs_test/dst
ls -l /tmp/rs_test/src /tmp/rs_test/dst

0 comments on commit 00f45fe

Please sign in to comment.