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.

24 lines
359 B

test_description='force leaves file when target nonexistent'
. '../test-lib.bash'
test_expect_success 'setup' '
mkdir ~/dir &&
touch ~/file
test_expect_failure 'run' '
run_dotbot <<EOF
- link:
path: dir
force: true
path: file
force: true
test_expect_success 'test' '
test -d ~/dir &&
test -f ~/file