summaryrefslogtreecommitdiff
path: root/subplot/summain.yaml
blob: 0fd8542069978bc9d46ed2240c258e4246a326c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- given: an installed summain
  impl:
    python:
      function: install_summain

- given: directory {dirname}
  impl:
    python:
      function: create_directory

- given: socket {filename}
  impl:
    python:
      function: create_socket

- given: named pipe {filename}
  impl:
    python:
      function: create_fifo

- given: file {filename}
  impl:
    python:
      function: create_file

- given: file {filename} has mode {mode}
  impl:
    python:
      function: set_mode

- given: symlink {linkname} pointing at {target}
  impl:
    python:
      function: create_symlink

- given: atime for {filename} is {timestamp}
  impl:
    python:
      function: set_atime

- given: mtime for {filename} is {timestamp}
  impl:
    python:
      function: set_mtime

- then: output matches file {filename}
  types:
    filename: file
  impl:
    python:
      function: output_matches_file