github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/scripts/test/e2e/entry (about)

     1  #!/usr/bin/env bash
     2  set -eu -o pipefail
     3  
     4  if [ -n "${REMOTE_DAEMON-}" ]; then
     5    # Run tests against a remote daemon.
     6    ./scripts/test/e2e/run fetch-images
     7    ./scripts/test/e2e/run test "${DOCKER_HOST-}"
     8  else
     9    # Run tests against dind.
    10    ./scripts/test/e2e/wrapper
    11  fi