]>
Dogcows Code - chaz/docker-connect/blob - t/03-options.sh
8 .
/docker
-connect -h |grep 'OPTIONS' >/dev
/null
2>&1
9 is
"$?" 0 'the -h flag works'
11 .
/docker
-connect -v |grep '^docker-connect [[:digit:]]' >/dev
/null
2>&1
12 is
"$?" 0 'the -v flag works'
14 .
/docker
-connect -Z foo
2>/dev
/null
15 is
"$?" 1 'invalid option correctly fails'
This page took 0.033656 seconds and 4 git commands to generate.