summaryrefslogtreecommitdiff
path: root/subplot/client.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-01-04 18:57:49 +0200
committerLars Wirzenius <liw@liw.fi>2021-01-04 20:02:06 +0200
commit8efabc60f87e5462b01f4832d575f68382929624 (patch)
tree422b3941b6867871486df2198aef0e431c6b95ac /subplot/client.yaml
parent650b7cee5700eae9ab6c300fbdb816dead6f01f5 (diff)
downloadobnam2-8efabc60f87e5462b01f4832d575f68382929624.tar.gz
feat: verify checksum of chunks downloaded from server
Diffstat (limited to 'subplot/client.yaml')
-rw-r--r--subplot/client.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/subplot/client.yaml b/subplot/client.yaml
index db55679..b1f9b19 100644
--- a/subplot/client.yaml
+++ b/subplot/client.yaml
@@ -10,6 +10,9 @@
- 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
@@ -24,3 +27,6 @@
- then: "file {filename} was not backed up because it was unchanged"
function: file_was_unchanged
+
+- then: "stdout matches file {filename}"
+ function: stdout_matches_file