From ef468d692bee233b37d7853098612c5b2d17423f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 3 Jun 2013 21:03:49 -0600 Subject: unit tests: sudo was unsetting LIBRETOOLS_LIBDIR --- test/lib-conf-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib-conf-test.sh') 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 ]] } -- cgit v1.2.2