1
0
Fork 0
mirror of synced 2024-11-16 05:35:33 -05:00
dotbot/test/tests/clean-outside-force.bash

19 lines
291 B
Bash
Raw Normal View History

2017-03-22 06:22:10 -04:00
test_description='clean forced to remove files linking outside dotfiles directory'
. '../test-lib.bash'
test_expect_success 'setup' '
ln -s /nowhere ~/.g
'
test_expect_success 'run' '
run_dotbot <<EOF
- clean:
~/:
force: true
EOF
'
test_expect_success 'test' '
! test -h ~/.g
'