A few further tweaks to how path handling in tests

This commit is contained in:
2014-05-24 11:46:48 +01:00
parent 1fb80660b8
commit e5ffdc6f16
3 changed files with 15 additions and 5 deletions

View File

@@ -21,8 +21,11 @@ abs_dirname() {
# Set testroot variable.
testroot="$(abs_dirname "$BASH_SOURCE")"
# Set root variable.
root="$(abs_dirname "$testroot/../..")"
# Set TMUXIFIER environment variable
TMUXIFIER="$(abs_dirname "$testroot/../..")"
TMUXIFIER="$root"
# Unset various Tmuxifier environment variables to prevent a local install of
# Tmuxifier interfering with tests.