#!/bin/sh
# Author: Ulrich Dangel <mru@spamt.net>
# License: LGPL 2.1

errormsg() {
    echo "${*}" >&2

}
if [ -n "$ZSH_VERSION" ] ; then
  if [ -z "$SHUNIT_PARENT" ] ; then
    errormsg 'zsh does not pass $0 through properly. please declare "SHUNIT_PARENT=$0"'
    exit 2
  fi
else
  case $0 in *shunit2)
    errormsg "This script is not meant to be executed directly."
    errormsg "Please have a look in the manpage or in the documentation directory."
    exit 2
    ;;
  esac
fi

. /usr/share/shunit2/shunit2
