mirror of https://github.com/docker/cli.git
4f483276cf
Currently running the e2e tests produces a warning/error: $ make -f docker.Makefile test-e2e «...» docker run --rm -v /var/run/docker.sock:/var/run/docker.sock docker-cli-e2e ./scripts/test/e2e/run: line 20: test: : integer expression expected This is from: test "${DOCKERD_EXPERIMENTAL:-}" -eq "1" && «...» Where `${DOCKERD_EXPERIMENTAL:-}` expands to the empty string, resulting in `test "" -eq "1"` which produces the warning. This error is enough to trigger the short-circuiting behaviour of `&&` so the result is as expected, but fix the issue nonetheless by provdiing a default `0`. Signed-off-by: Ian Campbell <ijc@docker.com> |
||
---|---|---|
.. | ||
entry | ||
load-image | ||
run | ||
wait-on-daemon | ||
wrapper |