summaryrefslogtreecommitdiff
path: root/subplot/client.yaml
blob: b1f9b1988b8cd06b40a00e1c9cadb6f233091758 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
- given: "an installed obnam"
  function: install_obnam

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

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

- when: "I invoke obnam --config {filename} restore latest {todir}"
  function: run_obnam_restore_latest

- when: "I invoke obnam --config {filename} get-chunk <{gen_id}>"
  function: run_obnam_get_chunk

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

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

- then: "file {filename} was backed up because it was new"
  function: file_was_new

- then: "file {filename} was backed up because it was changed"
  function: file_was_changed

- then: "file {filename} was not backed up because it was unchanged"
  function: file_was_unchanged

- then: "stdout matches file {filename}"
  function: stdout_matches_file