Use -t flag to mktemp to properly select /tmp as the directory
to place temporary files.
Redirect stderr of "kenv test.*" to /dev/null.
If those variables aren't set, we don't want to see error
messages about them not being set.