]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - tests/varstash_export.t
tests: cleanup test_full (#86)
[zsh-autoenv.git] / tests / varstash_export.t
index 5c259b7ddb1d3e5c4de12becb8c88ebf18a9666a..9936d7eaaef099e81f12f6c6a4ed8c471c529438 100644 (file)
@@ -29,20 +29,20 @@ Activating the env stashes it and applies a new value.
 
 The variable is not available in a subshell, only the exported one.
 
-  $ $SHELL -c 'echo ${MYVAR:-empty}; echo $MYEXPORT'
+  $ $TESTSHELL -c 'echo ${MYVAR:-empty}; echo $MYEXPORT'
   empty
   changed_export
 
 Activate autoenv in the subshell.
 
-  $ $SHELL -c "$TEST_SOURCE_AUTOENV; echo \${MYVAR}; echo \$MYEXPORT"
+  $ $TESTSHELL -c "$TEST_SOURCE_AUTOENV; echo \${MYVAR}; echo \$MYEXPORT"
   ENTER
   changed
   changed_export
 
 "autounstash" should handle the exported variables.
 
-  $ $SHELL -c "$TEST_SOURCE_AUTOENV; cd ..; echo \${MYVAR:-empty}; echo \$MYEXPORT"
+  $ $TESTSHELL -c "$TEST_SOURCE_AUTOENV; cd ..; echo \${MYVAR:-empty}; echo \$MYEXPORT"
   ENTER
   LEAVE
   empty