X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fshunit%2Fexample_shunit_test.sh;h=17b3dd89509b1b45424654a679748e7aa58abc10;hb=b88291228a119aad677528c664205844b6c4ec17;hp=9d389bee41a93d6a5b013cd6a951e6ebfb4a4c0b;hpb=c7d1c59cff5636b2e7b76c6eec04c45cdd370352;p=feisty_meow.git diff --git a/scripts/shunit/example_shunit_test.sh b/scripts/shunit/example_shunit_test.sh old mode 100755 new mode 100644 index 9d389bee..17b3dd89 --- a/scripts/shunit/example_shunit_test.sh +++ b/scripts/shunit/example_shunit_test.sh @@ -5,7 +5,7 @@ # Author: Chris Koeritz # license gnu gpl v3 -export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory. +export WORKDIR="$( \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. @@ -36,5 +36,5 @@ oneTimeTearDown() } # load and run shUnit2 -source $SHUNIT_DIR/shunit2 +source $SHUNIT_PATH/shunit2