#!/bin/sh
set -e -u
cp -a test ext $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
export HOME=$AUTOPKGTEST_TMP

# as of 1.0.0.beta1, this exists in the source, but is a no-op
# export TIMEW_USE_PATH=1
# so we symlink ./src/timew as it expects
mkdir src
ln -s /usr/bin/timew src/timew

cd test
chmod a+x run_all
./run_all -v
