blob: 606d62516c1a5c3152734e5afa016aecd65d626f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
- when: I run ssh (?P<host>\S+) (?P<cmd>\S+)
function: run_ssh
- when: I run ssh -J (?P<jumphost>\S+) (?P<host>\S+) (?P<cmd>\S+)
function: run_ssh_with_jumphost
- 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
|