1
0
Fork 0
mirror of synced 2024-11-16 13:35:35 -05:00
dotbot/test/tests/clean-outside.bash
2015-05-05 20:11:46 -04:00

18 lines
301 B
Bash

test_description='clean ignores files linking outside dotfiles directory'
. '../test-lib.bash'
test_expect_success 'setup' '
ln -s ${DOTFILES}/f ~/.f &&
ln -s ~/g ~/.g
'
test_expect_success 'run' '
run_dotbot <<EOF
- clean: ["~"]
EOF
'
test_expect_success 'test' '
! test -h ~/.f &&
test -h ~/.g
'