3 user_dir=/srv/cloudstore/users/test/
4 rm -Rvf $user_dir/log/* $user_dir/blob/*
8 RSYNC_PASSWORD=secret rsync $* $file rsync://test+localhost@127.0.0.1:6501/test/$file
13 test -z "$to" && to=$1
14 RSYNC_PASSWORD=secret rsync rsync://test+localhost@127.0.0.1:6501/test/$from $to
20 ./create-user.sh test secret
21 ./create-user.sh test secret localhost
27 push . --recursive --delete -v
33 touch --date='2000-01-01' bar
45 uptime > "dir-test/file with spaces"
46 push dir-test --recursive -v
48 find . type -f | xargs -i md5sum {} > /tmp/md5sum
51 push dir-test --recursive --delete -v
54 pull non-existing || true
58 # test md5 import from directory
61 # client should hardlink or copy files locally to avoid wastefull pull
62 # but we test server-side hardlink here
65 md5sum clone/* | sed -e 's! ! _import/foo/bar/baz!' > md5sum
69 tail -20 $user_dir/log/*
71 #diff -urw $user_dir/blob $dir/
72 #diff -urw $user_dir/json $dir/