2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-30 01:41:21 +00:00
bazel-lib/lib/tests/copy_to_directory/case6.sh

16 lines
286 B
Bash
Executable file

#!/usr/bin/env bash
set -o errexit -o nounset
cd $TEST_SRCDIR
cd $TEST_WORKSPACE
cd $(dirname $TEST_BINARY)
cd case_6
# A path that should be in the directory we have in data[]
path="f/f2/f2"
if [ ! -f "$path" ]; then
echo >&2 "Expected $path to exist in runfiles"
exit 1
fi