summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2014-01-25 19:13:48 +0000
committerLars Wirzenius <liw@liw.fi>2014-01-25 19:13:48 +0000
commit0191ae6f8a4dae32583a3e506d6c00e5c13d153e (patch)
tree192524ae46b3787cf553869cd434a87443510480 /yarns/9000-implements.yarn
parent99183871095a7cd0b1b588ec27522d0b27aa1723 (diff)
downloadobnam-0191ae6f8a4dae32583a3e506d6c00e5c13d153e.tar.gz
Convert remove-checkpoints into a yarn
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn11
1 files changed, 11 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index 1d005d77..ccead253 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -265,6 +265,17 @@ Ditto for generation ids.
n=$(wc -l < "$DATADIR/generation-id.list")
test "$MATCH_2" = "$n"
+Check that there are no checkpoint generations.
+
+ IMPLEMENTS THEN user (\S+) sees no checkpoint generations in repository (\S+)
+ run_obnam "$MATCH_1" generations -r "$DATADIR/$MATCH_2" \
+ > "$DATADIR/generation.list"
+ if grep checkoint "$DATADIR/generation.list"
+ then
+ echo "Can see checkpoint generations!" 1>&2
+ exit 1
+ fi
+
Diffs between generations
-------------------------