diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-03 21:03:49 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:01:07 -0600 |
commit | ef468d692bee233b37d7853098612c5b2d17423f (patch) | |
tree | 5bc06ebc0c618154c74e79ac86bdeacb1f6ccdb9 /test/lib-conf-test.sh | |
parent | 0615f9f304be0cebc72e5a7bbcb93e8f2220e672 (diff) |
unit tests: sudo was unsetting LIBRETOOLS_LIBDIR
Diffstat (limited to 'test/lib-conf-test.sh')
-rw-r--r-- | test/lib-conf-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib-conf-test.sh b/test/lib-conf-test.sh index eeea287..0ee0f62 100644 --- a/test/lib-conf-test.sh +++ b/test/lib-conf-test.sh @@ -25,7 +25,7 @@ it_figures_out_HOME_when_root() { cd "$tmpdir" echo '. $(librelib conf.sh); echo "$LIBREHOME"' > test.sh - LIBREHOME=$(sudo bash ./test.sh) + LIBREHOME=$(sudo -EH bash ./test.sh) [[ $LIBREHOME == $HOME ]] } |