# Author: Chris Koeritz
# license gnu gpl v3
-export WORKDIR="$( \cd "$(\dirname "$0")" && /bin/pwd )" # obtain the script's working directory.
+export THISDIR="$( \cd "$(\dirname "$0")" && /bin/pwd )" # obtain the script's working directory.
if [[ ! "$0" =~ ^/.* ]]; then
# re-run the script with an absolute path if it didn't start out that way; otherwise,
# shunit is not happy with finding the script.
- exec "$WORKDIR/$(basename $0)" $*
+ exec "$THISDIR/$(basename $0)" $*
fi
-cd $WORKDIR
+cd $THISDIR
oneTimeSetUp()
{
}
# load and run shUnit2
-source $SHUNIT_DIR/shunit2
+source $SHUNIT_PATH/shunit2