#!/bin/bash
set -e
# RU: t/cookies.t пишет в текущую директорию, поэтому гоняем из tmp.
# EN: t/cookies.t writes into the current directory, so run from a temp dir.
DIR=$(mktemp -d)
cp -a /usr/libexec/perl-HTTP-Cookies/* "$DIR"
pushd "$DIR" >/dev/null
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
popd >/dev/null
rm -r "$DIR"
