diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-21 07:40:17 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-21 07:40:17 +0000 |
commit | 0628d55f2582af6ffb34ec12a20832e9fad73515 (patch) | |
tree | fa4892d45e8c7e238249eba2d2d5f36ec523c54b /yarns/9000-implements.yarn | |
parent | d5973757f5be3704823c36567dba31c04d12b733 (diff) | |
download | obnam-0628d55f2582af6ffb34ec12a20832e9fad73515.tar.gz |
Convert verifies-randomly from cmdtest to yarn
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r-- | yarns/9000-implements.yarn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn index 25400662..ab0fe1c8 100644 --- a/yarns/9000-implements.yarn +++ b/yarns/9000-implements.yarn @@ -269,6 +269,12 @@ Run `obnam verify` and remember the output. attempt run_obnam "$MATCH_1" \ verify -r "$DATADIR/$MATCH_3" "$DATADIR/$MATCH_2" +Verify a random file in live data. + + IMPLEMENTS WHEN user (\S+) attempts to verify a random file in (\S+) against repository (\S+) + attempt run_obnam "$MATCH_1" \ + verify -r "$DATADIR/$MATCH_3" --verify-randomly=1 "$DATADIR/$MATCH_2" + Removing (forgetting) generations --------------------------------- |