summaryrefslogtreecommitdiff
path: root/yarns/obnam.sh
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-12-04 15:27:11 +0000
committerLars Wirzenius <liw@liw.fi>2013-12-04 15:27:11 +0000
commit4640a881c2263cc2cfcb6a0ed3f75170e93284da (patch)
tree380772642233794e697fd7d3d558a6196c98420a /yarns/obnam.sh
parenta3f3f96bf7abb4baa254055d746f6ac62aafef4f (diff)
downloadobnam-4640a881c2263cc2cfcb6a0ed3f75170e93284da.tar.gz
Add basic backup test
Diffstat (limited to 'yarns/obnam.sh')
-rw-r--r--yarns/obnam.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/yarns/obnam.sh b/yarns/obnam.sh
index eafc8b8d..2375db0a 100644
--- a/yarns/obnam.sh
+++ b/yarns/obnam.sh
@@ -16,12 +16,17 @@
# =*= License: GPL-3+ =*=
+# Set variables to help referring to common things in $DATADIR.
+LIVEDATA="$DATADIR/live-data"
+REPO="$DATADIR/repo"
+
+
# Run Obnam in a safe way that ignore's any configuration files outside
# the test.
run_obnam()
{
- "$SRCDIR/obnam" --no-default-config "$@"
+ "$SRCDIR/obnam" --no-default-config --quiet "$@"
}