blob: 9863c866795dba6de326a859f86a9f94a6c9ce40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- when: I run ssh (?P<host>\S+) (?P<cmd>.+)
function: run_ssh
- when: I run git clone (?P<repo>\S+)
function: run_git_clone
- then: the output matches /(?P<regex>.+)/
function: stdout_matches
- then: the directory (?P<dirname>\S+) exists
function: dir_exists
|