X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=tests%2Fvarstash_export.t;h=2b758482e94882f2e175f09b7cddbdf4e42fe36f;hb=ebef4c26133c38a7e8df848ee0243ff0308941a1;hp=d666d6666bfaddcefac8b1a8e8bd99c4a00ee632;hpb=102a3f2f441d3454bc4b84f845eab7d9a38d97f2;p=zsh-autoenv.git diff --git a/tests/varstash_export.t b/tests/varstash_export.t index d666d66..2b75848 100644 --- a/tests/varstash_export.t +++ b/tests/varstash_export.t @@ -35,14 +35,14 @@ The variable is not available in a subshell, only the exported one. Activate autoenv in the subshell. - $ $SHELL -c 'source $TEST_AUTOENV_PLUGIN_FILE; echo ${MYVAR}; echo $MYEXPORT' + $ $SHELL -c "$TEST_SOURCE_AUTOENV; echo \${MYVAR}; echo \$MYEXPORT" ENTER changed changed_export "autounstash" should handle the exported variables. - $ $SHELL -c 'source $TEST_AUTOENV_PLUGIN_FILE; cd ..; echo ${MYVAR:-empty}; echo $MYEXPORT' + $ $SHELL -c "$TEST_SOURCE_AUTOENV; cd ..; echo \${MYVAR:-empty}; echo \$MYEXPORT" ENTER LEAVE empty