4
if [ -z "$TMPDIR" ]; then
10
export XDG_CACHE_HOME=$TMPDIR/cache
11
export PASSPHRASE=test
13
# clean up from any previous run
15
import ubuntuone.couch.auth as auth
16
volume = "https://one.ubuntu.com/api/file_storage/v1/volumes/~/duplicity-test"
17
print auth.request(volume, http_method="DELETE")
20
cp -r /bin $TMPDIR/source
21
duplicity $TMPDIR/source u1+http://duplicity-test
23
duplicity u1+http://duplicity-test $TMPDIR/restore
24
diff -p $TMPDIR/source $TMPDIR/restore