test/test_helper: exclude bad symlink

Symlink `/test_lib/bats-core/test/fixtures/parallel/suite/helper.bash` references a not-existing file, but it's in a submodule so I can't just fix it. Exclude it from `rsync` in `setup_test_fixture()`.
pull/2002/head
John D Pell 2022-01-06 20:14:33 -08:00
parent 97ef5a8087
commit 30ca1bfba2
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ setup_test_fixture() {
if command -v rsync &> /dev/null; then
# Use rsync to copy Bash-it to the temp folder
rsync -qavrKL -d --delete-excluded --exclude=.git --exclude=enabled "$src_topdir" "$BASH_IT"
rsync -qavrKL -d --delete-excluded --exclude=.git --exclude=helper.bash --exclude=enabled "$src_topdir" "$BASH_IT"
else
rm -rf "$BASH_IT"
mkdir -p "$BASH_IT"