diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-03-05 22:24:51 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-03-05 22:24:51 +0000 |
commit | f1ce9640f043f5b91d1965cdbb698862da38de78 (patch) | |
tree | b66da96b2de54616837ef79e852b88b4de759ce1 /test-locking | |
parent | 5bdf1ee2512e1334d2489360a65cbab48979b64b (diff) | |
download | obnam-f1ce9640f043f5b91d1965cdbb698862da38de78.tar.gz |
Allow access to backup repository via sftp
Separate the URL for obnam's access to the repository,
and the directory pathname for the test scripts' access.
Diffstat (limited to 'test-locking')
-rwxr-xr-x | test-locking | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test-locking b/test-locking index 99643a26..1c6cce09 100755 --- a/test-locking +++ b/test-locking @@ -23,17 +23,18 @@ die() exit 1 } -[ "$#" = 2 ] || die "Bad usage, read source!" +[ "$#" = 3 ] || die "Bad usage, read source!" NCLIENTS="$1" -NGENERATIONS=2 -repo="$2" +NGENERATIONS=16 +repourl="$2" +repopath="$3" pids="$(mktemp)" for i in $(seq "$NCLIENTS") do - ./test-many-generations "$NGENERATIONS" "$repo" "client-$i" \ - > "client-$i.output" 2>&1 & + ./test-many-generations "$NGENERATIONS" "$repourl" "$repopath" \ + "client-$i" > "client-$i.output" 2>&1 & echo "$!" >> "$pids" done |