Prepend call to autoenv_source_parent to sub/.autoenv.zsh file.
$ cd ..
- $ sed -i -e "1s/^/echo autoenv_source_parent_from_sub:\nautoenv_source_parent\n/" .autoenv.zsh
+ $ echo -e "echo autoenv_source_parent_from_sub:\nautoenv_source_parent\n$(cat .autoenv.zsh)" >| .autoenv.zsh
$ echo "echo done_sub" >> .autoenv.zsh
$ touch -t 201401010103 .autoenv.zsh
$ test_autoenv_auth_env_files
$ cd sub
autoenv_source_parent_from_sub:
Attempting to load unauthorized env file!
- -* /tmp/cramtests-*/recurse-upwards.t/.autoenv.zsh (glob)
+ -* /*/cramtests-*/recurse-upwards.t/.autoenv.zsh (glob)
**********************************************
$ cd .
autoenv_source_parent_from_sub:
Attempting to load unauthorized env file!
- -* /tmp/cramtests-*/recurse-upwards.t/.autoenv.zsh (glob)
+ -* /*/cramtests-*/recurse-upwards.t/.autoenv.zsh (glob)
**********************************************