diff options
Diffstat (limited to 'subplot/obnam.yaml')
-rw-r--r-- | subplot/obnam.yaml | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/subplot/obnam.yaml b/subplot/obnam.yaml deleted file mode 100644 index 8bde009..0000000 --- a/subplot/obnam.yaml +++ /dev/null @@ -1,77 +0,0 @@ -- given: "an installed obnam" - function: install_obnam - -- given: "a client config based on {filename}" - function: configure_client - -- given: "a chunk server" - function: start_chunk_server - cleanup: stop_chunk_server - -- given: > - a file (?P<filename>\\S+) containing "(?P<data>.*)" - regex: true - function: create_file_with_given_data - -- given: "a file {filename} containing some random data" - function: create_file_with_random_data - -- when: "I POST (?P<filename>\\S+) to (?P<path>\\S+), with (?P<header>\\S+): (?P<json>.*)" - regex: true - function: post_file - -- when: "I GET /chunks/<{var}>" - function: get_chunk_via_var - -- when: "I try to GET /chunks/{chunk_id}" - function: get_chunk_by_id - -- when: "I GET /chunks?sha256={sha}" - regex: false - function: find_chunks_with_sha - -- when: "I DELETE /chunks/<{var}>" - function: delete_chunk_via_var - -- when: "I try to DELETE /chunks/{chunk_id}" - function: delete_chunk_by_id - -- when: "I back up {dirname} with obnam-backup" - function: back_up_directory - -- when: "I invoke obnam backup {filename}" - function: run_obnam_backup - -- 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}" - function: status_code_is - -- then: "{header} is {value}" - function: header_is - -- then: "the JSON body has a field {field}, henceforth {var}" - function: remember_json_field - -- then: "the JSON body matches (?P<wanted>.*)" - regex: true - function: json_body_matches - -- then: "the body matches file {filename}" - function: body_matches_file - -- then: "backup command is successful" - function: command_is_successful - -- then: "backup generation is {varname}" - function: capture_generation_id - -- then: "data in {live} and {restore} match" - function: live_and_restored_data_match - -- then: "generation list contains <{gen_id}>" - function: generation_list_contains |