summaryrefslogtreecommitdiff
path: root/subplot/summain.yaml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-11-27 16:57:21 +0200
committerLars Wirzenius <liw@liw.fi>2020-11-28 10:37:40 +0200
commitaa6709b2f657a964c2af04f6370e7eb7c117bf9e (patch)
tree9e0f5ba56f45eb24d286ac38a67b27ed0899f9d6 /subplot/summain.yaml
parentb5b5884097219d77aa0b4cd6ad4d3a9c1407f5a6 (diff)
downloadsummain-rs-aa6709b2f657a964c2af04f6370e7eb7c117bf9e.tar.gz
feat: implement Summain in Rust
Diffstat (limited to 'subplot/summain.yaml')
-rw-r--r--subplot/summain.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/subplot/summain.yaml b/subplot/summain.yaml
new file mode 100644
index 0000000..31bc28c
--- /dev/null
+++ b/subplot/summain.yaml
@@ -0,0 +1,17 @@
+- given: an installed summain
+ function: install_summain
+
+- given: directory {dirname}
+ function: create_directory
+
+- given: file {filename}
+ function: create_file
+
+- given: atime for {filename} is {timestamp}
+ function: set_atime
+
+- given: mtime for {filename} is {timestamp}
+ function: set_mtime
+
+- then: output matches file {filename}
+ function: output_matches_file