summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-02 20:20:20 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-02 20:20:20 -0500
commite4ccc15cccf46e6265347f4fdee598b0561c4c74 (patch)
treee7e0839be21411dd88eddd3eb265167942566599 /test
parentd7dcce53396d32c090e1e175c9c606a78f5cb3d6 (diff)
librechroot-test: check for the existance of ca-certificates.crt
Diffstat (limited to 'test')
-rw-r--r--test/librechroot-test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/librechroot-test.sh b/test/librechroot-test.sh
index f8dd2ba..3896005 100644
--- a/test/librechroot-test.sh
+++ b/test/librechroot-test.sh
@@ -44,6 +44,12 @@ it_respects_exit_status_if_out_isnt_a_tty() (
[[ $r == 3 ]]
)
+it_creates_ca_certificates() {
+ require network sudo || return 0
+ libremessages msg 'Creating a chroot, may take a few minutes' &>/dev/tty
+ testsudo librechroot -l "$roundup_test_name" run test -r /etc/ssl/certs/ca-certificates.crt
+}
+
it_disables_networking_when_requested() {
require network sudo || return 0
libremessages msg 'Creating a chroot, may take a few minutes' &>/dev/tty