1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-06-28 19:00:10 +03:00
zsh-autoenv/tests/setup.sh
2014-11-24 20:13:18 +01:00

7 lines
194 B
Bash

# Ensure we have our mocked out ENV_AUTHORIZATION_FILE
[[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
# Inject timeout for `read` while running tests.
_AUTOENV_TEST_READ_ARGS='-t 1'