projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafe811
)
cleanup log before test runs
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 17 Jul 2011 12:56:08 +0000
(12:56 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sun, 17 Jul 2011 12:56:08 +0000
(12:56 +0000)
test.sh
patch
|
blob
|
history
diff --git
a/test.sh
b/test.sh
index
148b52e
..
25c77c9
100755
(executable)
--- a/
test.sh
+++ b/
test.sh
@@
-1,5
+1,8
@@
#!/bin/sh -xe
+log=/srv/cloudstore/users/dpavlin/log/
+rm -v $log/*
+
push() {
file=`shift`
RSYNC_PASSWORD=secret rsync $* $file rsync://dpavlin@127.0.0.1:6501/dpavlin/$file
@@
-33,7
+36,7
@@
rm foo bar
push dir-test --recursive --delete -v
rm -Rf dir-test
-tail -20
/srv/cloudstore/users/dpavlin/log/`date +%Y-%m-%d`
+tail -20
$log/*
pull non-existing # dies, must be last