#!/usr/bin/bash
set -e
# utime.t needs to write into temporary files. The solution is to copy the
# tests into a writable directory and execute them from there.
DIR=$(mktemp -d)
pushd "$DIR"
cp -a /usr/libexec/perl-Time-HiRes/* ./
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd
rm -rf "$DIR"
