summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-09-15 06:19:12 +0000
committerLars Wirzenius <liw@liw.fi>2021-09-15 06:19:12 +0000
commit8cbeaca3b535da21e1152aec9726109474899a6a (patch)
tree7f61ded7d08abb558de12cb50c8862ab3c15c8f0
parent35ba1651fc2659768f6de1fba613f1c264fc61d4 (diff)
parent556afcd84541f8ae26d97b468f8019148394f7df (diff)
downloadsummain-rs-8cbeaca3b535da21e1152aec9726109474899a6a.tar.gz
Merge branch 'fix-subplot' into 'main'
fix: add 'impl' in bindings file for new Subplot See merge request larswirzenius/summain!27
-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