diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-12-06 10:01:36 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-12-06 18:36:53 +0200 |
commit | 7dfd06673384077157186ef88a554b7a2876d87e (patch) | |
tree | bd131f92684b56ff4ab781044be84ec8303079ec /subplot/client.yaml | |
parent | e322d41557d43c027ae36bb24d9399944ed2a05f (diff) | |
download | obnam2-7dfd06673384077157186ef88a554b7a2876d87e.tar.gz |
test: change backup/restore smoke test to verify metadata
Diffstat (limited to 'subplot/client.yaml')
-rw-r--r-- | subplot/client.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/subplot/client.yaml b/subplot/client.yaml index 63033c3..6894025 100644 --- a/subplot/client.yaml +++ b/subplot/client.yaml @@ -4,6 +4,12 @@ - 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 @@ -12,3 +18,6 @@ - then: "generation list contains <{gen_id}>" function: generation_list_contains + +- then: files {first} and {second} match + function: files_match |