Merge pull request #218 from sk4ly/master

Compatability for shUnit2 installs outside of the local directory.
This commit is contained in:
Zach Latta 2013-10-24 03:26:48 -07:00
commit a837d507dc

10
test.sh Normal file → Executable file
View File

@ -570,4 +570,12 @@ test_listing_multiple_jargroups() {
# Perform tests
source shunit2
# local copy of shunit2
source shunit2 2>/dev/null
if [ $? -ne 0 ]; then
# default install location for shunit2
source "/usr/share/shunit2/shunit2" 2>/dev/null
if [ $? -ne 0 ]; then
echo "Could not find shUnit2 install."
fi
fi