summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-15 09:18:25 +0300
committerLars Wirzenius <liw@liw.fi>2021-09-15 09:18:25 +0300
commit556afcd84541f8ae26d97b468f8019148394f7df (patch)
tree7f61ded7d08abb558de12cb50c8862ab3c15c8f0
parent35ba1651fc2659768f6de1fba613f1c264fc61d4 (diff)
downloadsummain-rs-556afcd84541f8ae26d97b468f8019148394f7df.tar.gz
fix: add 'impl' in bindings file for new Subplot
Sponsored-by: author
-rw-r--r--subplot/summain.yaml40
1 files changed, 30 insertions, 10 deletions
diff --git a/subplot/summain.yaml b/subplot/summain.yaml
index 8e5333c..522d58b 100644
--- a/subplot/summain.yaml
+++ b/subplot/summain.yaml
@@ -1,29 +1,49 @@
- given: an installed summain
- function: install_summain
+ impl:
+ python:
+ function: install_summain
- given: directory {dirname}
- function: create_directory
+ impl:
+ python:
+ function: create_directory
- given: socket {filename}
- function: create_socket
+ impl:
+ python:
+ function: create_socket
- given: named pipe {filename}
- function: create_fifo
+ impl:
+ python:
+ function: create_fifo
- given: file {filename}
- function: create_file
+ impl:
+ python:
+ function: create_file
- given: file {filename} has mode {mode}
- function: set_mode
+ impl:
+ python:
+ function: set_mode
- given: symlink {linkname} pointing at {target}
- function: create_symlink
+ impl:
+ python:
+ function: create_symlink
- given: atime for {filename} is {timestamp}
- function: set_atime
+ impl:
+ python:
+ function: set_atime
- given: mtime for {filename} is {timestamp}
- function: set_mtime
+ impl:
+ python:
+ function: set_mtime
- then: output matches file {filename}
- function: output_matches_file
+ impl:
+ python:
+ function: output_matches_file