1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 00:54:16 +00:00
Files
dotdrop/tests-ng/install-negative-ignore.sh
Joey Territo a73cfc2ef7 Fix unit test for negative ignore patterns in install command
On macOS, creating a temporary directory creates a hard link to a file with a different name, which causes dotdrop to think it is importing a symlink. This causes the unit tests to fail as dotdrop attempts to ask the user if it should dereference the symlink, but dotdrop is not connected to stdin when the shell script tests are running so dotdrop crashes with an EOFError. The solution is to pass the -f flag when invoking `dotdrop import` in tests.
2020-12-15 21:34:30 -05:00

3.5 KiB
Executable File