1
0
Fork 0
mirror of synced 2024-11-09 10:38:57 -05:00
dotbot/test/tests/clean-environment-variable-expansion.bash

17 lines
253 B
Bash
Raw Permalink 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
'