summaryrefslogtreecommitdiff
path: root/test/lib-conf-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib-conf-test.sh')
-rw-r--r--test/lib-conf-test.sh2
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 ]]
}