summaryrefslogtreecommitdiff
path: root/subplot/client.yaml
blob: 6894025e47c82bc50da8a5a32bb9dde5a2aad2d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- given: "an installed obnam"
  function: install_obnam

- given: "a client config based on {filename}"
  function: configure_client

- given: a manifest of the directory {dirname} in {manifest}
  function: create_manifest_of_live

- given: a manifest of the directory {dirname} restored in {restored} in {manifest}
  function: create_manifest_of_restored

- when: "I invoke obnam restore {filename} <{genid}> {todir}"
  function: run_obnam_restore

- then: "backup generation is {varname}"
  function: capture_generation_id

- then: "generation list contains <{gen_id}>"
  function: generation_list_contains

- then: files {first} and {second} match
  function: files_match