DockerCLI/scripts/test/e2e
Ian Campbell 4f483276cf e2e: assign a default value of 0 to `DOCKERD_EXPERIMENTAL`
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>
2018-12-17 14:32:38 +00:00
..
entry Make e2e test image 2018-05-29 13:39:31 +02:00
load-image Make e2e test image 2018-05-29 13:39:31 +02:00
run e2e: assign a default value of 0 to `DOCKERD_EXPERIMENTAL` 2018-12-17 14:32:38 +00:00
wait-on-daemon Add scripts for setting up e2e test environment. 2017-08-16 10:35:56 -04:00
wrapper Make test-e2e run against experimental and non-experimental daemon 2018-06-25 11:46:35 +02:00