mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Merge pull request #218 from sk4ly/master
Compatability for shUnit2 installs outside of the local directory.
This commit is contained in:
commit
a837d507dc
10
test.sh
Normal file → Executable file
10
test.sh
Normal file → Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user