1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/bin/sh
set -e -u
[ -d "$ADTTMP/" ] # sanity check
cp -a test "$ADTTMP/"
cd "$ADTTMP"
mkdir -p home mock src/shell
ln -sf /bin/false mock/scp
export HOME="$PWD/home/"
export PATH="$PWD/mock/:$PATH"
export TASKRC="$HOME/taskrc"
export TASKDATA="$HOME/taskdata"
export TASK_USE_PATH=1
touch "$TASKRC"
cd test/
rm -f version.t # checks git
rm -f bash_completion.t # not in sandbox
rm -f tw-1379.t # color themes not in test sandbox
rm -f tw-1643.t # interactive
rm -f tw-1718.t # upstream bug?
chmod a+x run_all
./run_all --verbose
if ls -d "$TASKDATA" 2>/dev/null; then
exit 1
fi
# vim:ts=4 sw=4 et
|