1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
test_description='link expands environment variables in source' . '../test-lib.bash' test_expect_success 'setup' ' echo "grape" > ${DOTFILES}/h ' test_expect_success 'run' ' export APPLE="h" && run_dotbot <<EOF - link: ~/.i: \$APPLE EOF ' test_expect_success 'test' ' grep "grape" ~/.i '