Skip to content

Commit

Permalink
Enable alternative shunit2 path
Browse files Browse the repository at this point in the history
  • Loading branch information
l0b0 committed Dec 2, 2013
1 parent bd27cf1 commit ace2e8e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/collapse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ fghi foo bar baz ban"

# load and run shUnit2
test -n "${ZSH_VERSION:-}" && SHUNIT_PARENT=$0
. /usr/share/shunit2/shunit2
. /usr/share/shunit2/shunit2 || . /usr/bin/shunit2
2 changes: 1 addition & 1 deletion tests/empty_line_before_eof.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ test_random() {

# load and run shUnit2
test -n "${ZSH_VERSION:-}" && SHUNIT_PARENT=$0
. /usr/share/shunit2/shunit2
. /usr/share/shunit2/shunit2 || . /usr/bin/shunit2
2 changes: 1 addition & 1 deletion tests/find_date_sorted.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ test_file() {

# load and run shUnit2
test -n "${ZSH_VERSION:-}" && SHUNIT_PARENT=$0
. /usr/share/shunit2/shunit2
. /usr/share/shunit2/shunit2 || . /usr/bin/shunit2
2 changes: 1 addition & 1 deletion tests/path_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ test_complex() {

# load and run shUnit2
test -n "${ZSH_VERSION:-}" && SHUNIT_PARENT=$0
. /usr/share/shunit2/shunit2
. /usr/share/shunit2/shunit2 || . /usr/bin/shunit2
2 changes: 1 addition & 1 deletion tests/substring.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ test_complex() {

# load and run shUnit2
test -n "${ZSH_VERSION:-}" && SHUNIT_PARENT=$0
. /usr/share/shunit2/shunit2
. /usr/share/shunit2/shunit2 || . /usr/bin/shunit2
2 changes: 1 addition & 1 deletion tests/sum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,4 @@ test_complex() {

# load and run shUnit2
test -n "${ZSH_VERSION:-}" && SHUNIT_PARENT=$0
. /usr/share/shunit2/shunit2
. /usr/share/shunit2/shunit2 || . /usr/bin/shunit2
2 changes: 1 addition & 1 deletion tests/valid_ipv4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ test_invalid() {

# load and run shUnit2
test -n "${ZSH_VERSION:-}" && SHUNIT_PARENT=$0
. /usr/share/shunit2/shunit2
. /usr/share/shunit2/shunit2 || . /usr/bin/shunit2

0 comments on commit ace2e8e

Please sign in to comment.