summaryrefslogtreecommitdiff
path: root/subplot/summain.yaml
blob: 522d58b404dca2af896654bf1fe4d6f50482beb2 (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
- 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}
  impl:
    python:
      function: output_matches_file