#!/bin/bash
set -e
# Some tests write temporary files/dirs, run from a writable directory
DIR=$(mktemp -d)
trap 'rm -rf "$DIR"' EXIT
cp -a /usr/libexec/perl-Net-DNS/* "$DIR"/
cd "$DIR"
prove -I . -I t -I t/lib -j "$(getconf _NPROCESSORS_ONLN)" t
