1
0
Fork 0
mirror of synced 2024-12-22 22:18:59 -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
'