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
parent
97ef5a8087
commit
30ca1bfba2
|
|
@ -41,7 +41,7 @@ setup_test_fixture() {
|
||||||
|
|
||||||
if command -v rsync &> /dev/null; then
|
if command -v rsync &> /dev/null; then
|
||||||
# Use rsync to copy Bash-it to the temp folder
|
# 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
|
else
|
||||||
rm -rf "$BASH_IT"
|
rm -rf "$BASH_IT"
|
||||||
mkdir -p "$BASH_IT"
|
mkdir -p "$BASH_IT"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue