3 user_dir=/srv/cloudstore/users/test/
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 push dir-test --recursive --delete -v
51 pull non-existing || true
55 # test md5 import from directory
58 # client should hardlink or copy files locally to avoid wastefull pull
59 # but we test server-side hardlink here
62 tail -20 $user_dir/log/*
64 #diff -urw $user_dir/blob $dir/
65 #diff -urw $user_dir/json $dir/
67 ls -al $user_dir/blob $user_dir/json