1
0
Fork 0
mirror of synced 2024-11-25 17:45:34 -05:00
dotbot/test/tests/clean-environment-variable-expansion.bash

17 lines
253 B
Bash
Raw Normal View History

test_description='clean expands environment variables'
. '../test-lib.bash'
test_expect_success 'setup' '
ln -s ${DOTFILES}/f ~/.f
'
test_expect_success 'run' '
run_dotbot <<EOF
- clean: ["\$HOME"]
EOF
'
test_expect_success 'test' '
! test -h ~/.f
'