summaryrefslogtreecommitdiff
path: root/subplot/client.yaml
blob: d66008903d4745c75f150ca02f7e317eb1aae954 (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
33
34
35
36
- given: "an installed obnam"
  function: install_obnam
  cleanup: uninstall_obnam

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

- given: "a client config, without passphrase, based on {filename}"
  function: configure_client_without_init

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

- when: "I invoke obnam 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

- then: "stdout contains home directory followed by {path}"
  function: stdout_contains_home_dir_path