mirror of https://github.com/docker/docs.git
Integration tests: Deterministic swarm binary path resolution
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
fd8ff48bec
commit
fa22dbf6a6
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
SWARM_ROOT=${BATS_TEST_DIRNAME}/../..
|
||||
|
||||
function swarm() {
|
||||
$GOBIN/swarm $@
|
||||
${SWARM_ROOT}/swarm $@
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue