@@ -7,52 +7,52 @@ Background:
77 Given I am in the "examples/r_exec" folder
88 And the folder "tmp" exists
99
10- Scenario : " Run an external command"
10+ Scenario : Run an external command
1111 When I run "run solve"
1212 Then the output should say "If there was a problem, yo, I'll solve it"
1313
14- Scenario : " Execute a before and after block"
14+ Scenario : Execute a before and after block
1515 When I run "run solve"
1616 Then the output should be like "output.txt"
1717
18- Scenario : " Execute a background job"
18+ Scenario : Execute a background job
1919 When I run "run behind"
2020 Then the output should say "> exec ls >/dev/null 2>&1"
2121
22- Scenario : " Execute a background job with a given pid alias"
22+ Scenario : Execute a background job with a given pid alias
2323 When I run "run pid"
2424 Then the output should say "> exec ls >/dev/null 2>&1"
2525 And the file "ls.pid" should exist
2626 And the file "ls.pid" should match "\d +"
2727
28- Scenario : " Execute a background job storing pid in another folder"
28+ Scenario : Execute a background job storing pid in another folder
2929 Given the file "tmp/pidfile.pid" does not exist
3030 When I run "run piddir"
3131 Then the file "tmp/pidfile.pid" should exist
3232 And the file "tmp/pidfile.pid" should match "\d +"
3333 And the file "pidfile.pid" should not exist
3434
35- Scenario : " Execute a background job and direct output to a log"
35+ Scenario : Execute a background job and direct output to a log
3636 Given the file "log.log" does not exist
3737 When I run "run log"
3838 And I wait "1" second
3939 Then the file "log.log" should exist
4040 And the file "log.log" should match "logged"
4141
42- Scenario : " Stop a background job"
42+ Scenario : Stop a background job
4343 When I run "run sleep"
4444 And I run "run sleep --stop"
4545 Then the file "sleeper.pid" should not exist
4646 And the output should match "kill -s TERM \d +"
4747
48- Scenario : " Stop a non existing background job"
48+ Scenario : Stop a non existing background job
4949 When I run "run error"
5050 Then the output should say "PID file not found"
5151
52- Scenario : " Configure with a block"
52+ Scenario : Configure with a block
5353 When I run "run block-config"
5454 Then the output should say "pid_dir = what-a-lovely-folder"
5555
56- Scenario : " Run without showing the command"
56+ Scenario : Run without showing the command
5757 When I run "run quiet"
5858 Then the output should match "BEFORE echo quietly\n quietly\n AFTER echo quietly"
0 commit comments