]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - tests/autoenv.t
Fix tests: match $CRAMTMP more losely (#78)
[zsh-autoenv.git] / tests / autoenv.t
index aeeeea4963d22ea3c62e4e17d54fc0f55fb035bc..8d2e864c5bff970bb7bb180b9f09919a5a7ad957 100644 (file)
@@ -17,7 +17,7 @@ Now try to make it accept it
   $ _autoenv_ask_for_yes() { echo "yes" }
   $ cd .
   Attempting to load unauthorized env file!
-  -* /tmp/cramtests-*/autoenv.t/.autoenv.zsh (glob)
+  -* /*/cramtests-*/autoenv.t/.autoenv.zsh (glob)
   
   **********************************************
   
@@ -42,7 +42,7 @@ Now lets see that it actually checks the shasum value.
   $ test_autoenv_add_to_env $PWD/.autoenv.zsh mischief
   $ cd .
   Attempting to load unauthorized env file!
-  -* /tmp/cramtests-*/autoenv.t/.autoenv.zsh (glob)
+  -* /*/cramtests-*/autoenv.t/.autoenv.zsh (glob)
   
   **********************************************
   
@@ -61,7 +61,7 @@ Now, will it take no for an answer?
   $ _autoenv_ask_for_yes() { echo "no"; return 1 }
   $ cd .
   Attempting to load unauthorized env file!
-  -* /tmp/cramtests-*/autoenv.t/.autoenv.zsh (glob)
+  -* /*/cramtests-*/autoenv.t/.autoenv.zsh (glob)
   
   **********************************************
   
@@ -77,7 +77,7 @@ Lets also try one more time to ensure it didn't add it.
   $ _autoenv_ask_for_yes() { echo "yes"; return 0 }
   $ cd .
   Attempting to load unauthorized env file!
-  -* /tmp/cramtests-*/autoenv.t/.autoenv.zsh (glob)
+  -* /*/cramtests-*/autoenv.t/.autoenv.zsh (glob)
   
   **********************************************