diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-12-08 08:51:14 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-12-08 10:43:22 +0200 |
commit | f75eb2433ac790891eaeb07248cf98d525cd5a13 (patch) | |
tree | 07930c76003e0495f384e626b7fcc91dbb031816 /subplot/data.yaml | |
parent | 2e92cbb0aefbde6a015c67e3886514c8af61cb5b (diff) | |
download | obnam2-f75eb2433ac790891eaeb07248cf98d525cd5a13.tar.gz |
refactor: move functions around so that data stuff is in data.yaml
Diffstat (limited to 'subplot/data.yaml')
-rw-r--r-- | subplot/data.yaml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/subplot/data.yaml b/subplot/data.yaml index 8006240..4f9871a 100644 --- a/subplot/data.yaml +++ b/subplot/data.yaml @@ -6,5 +6,11 @@ - given: "a file {filename} containing some random data" function: create_file_with_random_data -- then: "data in {live} and {restore} match" - function: live_and_restored_data_match +- 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 + +- then: files {first} and {second} match + function: files_match |