github.phpd.cn/thought-machine/please@v12.2.0+incompatible/test/sh_rules/sh_binary.sh (about) 1 #!/bin/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)