configure zfs quota and uid/git for shares
[cloudstore.git] / test.sh
diff --git a/test.sh b/test.sh
index d10c635..26d487b 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -5,20 +5,20 @@ rm -Rvf $user_dir/log/* #$user_dir/blob/*
 
 push() {
        file=`shift`
-       RSYNC_PASSWORD=secret rsync $* $file rsync://test+localhost@127.0.0.1:6501/test/localhost/$file
+       RSYNC_PASSWORD=secret rsync $* $file rsync://u2000@127.0.0.1:6501/u2000/localhost/$file
 }
 pull() {
        from=$1
        to=$2
        test -z "$to" && to=$1
-       RSYNC_PASSWORD=secret rsync rsync://test+localhost@127.0.0.1:6501/test/localhost/$from $to
+       RSYNC_PASSWORD=secret rsync rsync://u2000@127.0.0.1:6501/u2000/localhost/$from $to
 }
 
 
-#./remove-user.sh u2000
+#./remove-user.sh test@example.com
 
-#./create-user.sh u2000 secret
-#./create-user.sh u2000 secret localhost
+sudo ./create-user.sh test@example.com secret 200k
+sudo ./create-user.sh test2@example.com secret 20k
 
 #./remove-user.sh u2001
 #./create-user.sh u2001 secret