diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-13 09:40:39 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-13 11:27:21 +0200 |
commit | 38b51382e710dda515e6d0df8fdc4f0b253d9cd7 (patch) | |
tree | 5a012e63ef7aa6ae63c31f459d56631bc008b0b5 /subplot/obnam.yaml | |
parent | 179993f3bdd5e5d4dd728fc2a8f5d63274f95966 (diff) | |
download | obnam2-38b51382e710dda515e6d0df8fdc4f0b253d9cd7.tar.gz |
refactor: put all client functionality into one program
Diffstat (limited to 'subplot/obnam.yaml')
-rw-r--r-- | subplot/obnam.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/subplot/obnam.yaml b/subplot/obnam.yaml index 7d2d85b..8bde009 100644 --- a/subplot/obnam.yaml +++ b/subplot/obnam.yaml @@ -39,10 +39,13 @@ - when: "I back up {dirname} with obnam-backup" function: back_up_directory -- when: "I invoke obnam-backup {filename}" +- when: "I invoke obnam backup {filename}" function: run_obnam_backup -- when: "I invoke obnam-restore {filename} <{genid}> {dbname} {todir}" +- when: "I invoke obnam list {filename}" + function: run_obnam_list + +- when: "I invoke obnam restore {filename} <{genid}> {dbname} {todir}" function: run_obnam_restore - then: "HTTP status code is {status}" @@ -69,3 +72,6 @@ - then: "data in {live} and {restore} match" function: live_and_restored_data_match + +- then: "generation list contains <{gen_id}>" + function: generation_list_contains |