#!/bin/bash
# 'check_random.inc' and 't/getrandom.t' write into CWD.
DIR=/tmp/tmp.bw0HRjQMpe
/usr/bin/cp -a /usr/libexec/perl-Crypt-URandom/* ""
# 't/core_read.t' etc. needs 'URandom.pm' in './blib' without 'URandom.so'.
/usr/bin/mkdir -p "/blib/lib/Crypt"
/usr/bin/cp /usr/lib/perl5/vendor_perl/Crypt/URandom.pm "/blib/lib/Crypt"
pushd ""
unset CRYPT_URANDOM_BUILD_DEBUG
prove -I . -j "40"
popd
/usr/bin/rm -r ""
