#!/bin/sh

# Check things that should be true when all the testscripts run

test -f $HOME/harness.sh || { echo "HOME=\"$HOME\" is not the test suite directory"; exit 1; }
test -x $HOME/bin/darcs || { echo "tests/bin/darcs is not executable"; exit 1; }

x=$(darcs --am-I-the-test-wrapper)
test "x$x" = "xYes, I am the test wrapper" || { echo "The test wrapper for darcs is not in use"; exit 1; }
