gen_certs.sh (477B)
1 #!/usr/bin/env bash 2 3 source $(dirname "$0")/tools.sh 4 5 set -e 6 7 test -n "${VCS_PATH}" 8 9 # Generate certificates. 10 NSS_TESTS=cert NSS_CYCLES="standard pkix sharedb" $(dirname $0)/run_tests.sh 11 12 # Reset test counter so that test runs pick up our certificates. 13 echo 1 > tests_results/security/localhost 14 15 # Package. 16 if [ $(uname) = Linux ]; then 17 artifacts=/builds/worker/artifacts 18 else 19 mkdir public 20 artifacts=public 21 fi 22 tar cvfjh ${artifacts}/dist.tar.bz2 dist tests_results