summaryrefslogtreecommitdiff
path: root/subplot/summain.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'subplot/summain.yaml')
-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