A tool that bootstraps your dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
309 B

test_description='relink does not overwrite file'
. '../test-lib.bash'
test_expect_success 'setup' '
echo "apple" > ${DOTFILES}/f &&
echo "grape" > ~/.f
test_expect_failure 'run' '
run_dotbot <<EOF
- link:
path: f
relink: true
test_expect_success 'test' '
grep "grape" ~/.f