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/libremakepkg-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libremakepkg-test.sh') diff --git a/test/libremakepkg-test.sh b/test/libremakepkg-test.sh index 5ea3b59..b014da7 100644 --- a/test/libremakepkg-test.sh +++ b/test/libremakepkg-test.sh @@ -17,7 +17,7 @@ it_builds_a_trivial_package() { cp libremakepkg.d/PKGBUILD-hello "$tmpdir/PKGBUILD" cd "$tmpdir" - sudo libremakepkg &>/dev/null + sudo -EH libremakepkg &>/dev/null [[ -f $(echo libretools-hello-1.0-1-any.pkg.tar.?z) ]] } -- cgit v1.2.2