summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-03-25 19:38:39 +0100
committerLars Wirzenius <liw@liw.fi>2012-03-25 19:38:39 +0100
commitdea5bcfa4256d9468b116f4760683d6354eb8daa (patch)
treef7537b197da6272a779aeec6c8b004df37052c46
parentbe1a3a93367344537dafc4df323628b04d882d9b (diff)
downloadobnam-dea5bcfa4256d9468b116f4760683d6354eb8daa.tar.gz
Only check metadata for changes
The other files may change, because of larch journalling code.
-rwxr-xr-xtests/backup-pretend.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/backup-pretend.script b/tests/backup-pretend.script
index aa2c6bee..298529ac 100755
--- a/tests/backup-pretend.script
+++ b/tests/backup-pretend.script
@@ -17,7 +17,7 @@
set -e
$SRCDIR/tests/backup
-summain -r "$(cat $DATADIR/repourl)" > "$DATADIR/repo.summain"
+summain -r "$(cat $DATADIR/repourl)"/metadata > "$DATADIR/repo.summain"
$SRCDIR/tests/backup --pretend
-summain -r "$(cat $DATADIR/repourl)" > "$DATADIR/repo2.summain"
+summain -r "$(cat $DATADIR/repourl)"/metadata > "$DATADIR/repo2.summain"
diff -u "$DATADIR/repo.summain" "$DATADIR/repo2.summain"