1
0
mirror of https://github.com/docker/cli.git synced 2025-08-29 00:47:54 +03:00
Files
cli/scripts/test/e2e/entry
Sebastiaan van Stijn 5aeb7a0f55 Remove some bashisms
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-02-26 15:31:12 +01:00

12 lines
267 B
Bash
Executable File

#!/usr/bin/env bash
set -eu -o pipefail
if [ -n "${REMOTE_DAEMON-}" ]; then
# Run tests against a remote daemon.
./scripts/test/e2e/run fetch-images
./scripts/test/e2e/run test "${DOCKER_HOST-}"
else
# Run tests against dind.
./scripts/test/e2e/wrapper
fi