diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-04 21:57:25 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 20:06:25 -0600 |
commit | 695b9b8af8e2629d460d877abab4bdf216c71df2 (patch) | |
tree | 17499f3f1c583612e714fd2e9bbe22241bbd7313 /test/librechroot-test.sh | |
parent | bcf060fec41789af48664605fd1892f3ca477f4c (diff) |
fix the tests to work when libretools isn't installed
Diffstat (limited to 'test/librechroot-test.sh')
-rw-r--r-- | test/librechroot-test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |