use new test user
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 18 Jul 2011 18:59:14 +0000 (18:59 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 18 Jul 2011 18:59:14 +0000 (18:59 +0000)
test.sh

diff --git a/test.sh b/test.sh
index 03f5bcf..9b069d7 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -1,17 +1,17 @@
 #!/bin/sh -xe
 
-user_dir=/srv/cloudstore/users/dpavlin/
+user_dir=/srv/cloudstore/users/test/
 rm -vf $user_dir/log/*
 
 push() {
        file=`shift`
-       RSYNC_PASSWORD=secret rsync $* $file rsync://dpavlin@127.0.0.1:6501/dpavlin/$file
+       RSYNC_PASSWORD=secret rsync $* $file rsync://test@127.0.0.1:6501/test/$file
 }
 pull() {
        from=$1
        to=$2
        test -z "$to" && to=$1
-       RSYNC_PASSWORD=secret rsync rsync://dpavlin@127.0.0.1:6501/dpavlin/$from $to
+       RSYNC_PASSWORD=secret rsync rsync://test@127.0.0.1:6501/test/$from $to
 }