github.com/sercand/please@v13.4.0+incompatible/test/sh_rules/sh_binary.sh (about)

     1  #!/usr/bin/env bash
     2  set -eu
     3  
     4  # test /bin/bash can be used
     5  [ ! -z "$BASH_VERSION" ] || (echo "Expected a bash shell" >&2 && exit 11)
     6  
     7  source test/sh_rules/sh_lib.sh
     8  [ "$TEST_DEPS_VAR" = "123" ] || (echo "Could not source variable from dependency" && exit 12)