From 589186164cfbb1e033b9dfad33c9bf82b9404b1c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 11 Sep 2013 01:28:25 -0400 Subject: test: change how we do sudo (to make sure we stay in the test environment) --- 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 8a4fa63..95080af 100644 --- a/test/libremakepkg-test.sh +++ b/test/libremakepkg-test.sh @@ -23,7 +23,7 @@ it_builds_a_trivial_package() { cd "$tmpdir" libremessages msg 'Creating a chroot, may take a few minutes' &>/dev/tty - sudo -EH libremakepkg + testsudo libremakepkg [[ -f $(echo libretools-hello-1.0-1-any.pkg.tar.?z) ]] } -- cgit v1.2.2