#!/bin/bash
set -e
# t/common.pl reads from ./data and writes into ./temp. The easiest 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-LDAP/* ./
prove -I .
popd
rm -rf "$DIR"
