From 695b9b8af8e2629d460d877abab4bdf216c71df2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 4 Jun 2013 21:57:25 -0600 Subject: fix the tests to work when libretools isn't installed --- test/librechroot-test.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/librechroot-test.sh') diff --git a/test/librechroot-test.sh b/test/librechroot-test.sh index 91349c2..8c9d690 100644 --- a/test/librechroot-test.sh +++ b/test/librechroot-test.sh @@ -6,6 +6,7 @@ before() { tmpdir=$(mktemp -d --tmpdir test-librechroot.XXXXXXXXXXXX) mkdir -p "$XDG_CONFIG_HOME"/libretools echo "CHROOTDIR='$tmpdir'" > "$XDG_CONFIG_HOME"/libretools/chroot.conf + echo "CHROOT='default'" >> "$XDG_CONFIG_HOME"/libretools/chroot.conf stat=0 } @@ -14,6 +15,7 @@ after() { } it_creates_repo_for_new_chroots() { + libremessages msg 'Creating a chroot, may take a few minutes' &>/dev/tty sudo -EH librechroot run test -r /repo/repo.db } -- cgit v1.2.2