File shunit2-examples.diff of Package shunit2

diff -ur examples.bak/equality_test.sh examples/equality_test.sh
--- examples.bak/equality_test.sh	2012-02-02 09:58:24.000000000 +0100
+++ examples/equality_test.sh	2012-02-02 09:58:54.000000000 +0100
@@ -7,4 +7,4 @@
 }
 
 # load shunit2
-. ../src/shunit2
+. @SHUNIT_HOME@/src/shunit2
diff -ur examples.bak/lineno_test.sh examples/lineno_test.sh
--- examples.bak/lineno_test.sh	2012-02-02 09:58:59.000000000 +0100
+++ examples/lineno_test.sh	2012-02-02 09:59:21.000000000 +0100
@@ -13,4 +13,4 @@
 }
 
 # load shunit2
-. ../src/shunit2
+. @SHUNIT_HOME@/src/shunit2
diff -ur examples.bak/math_test.sh examples/math_test.sh
--- examples.bak/math_test.sh	2012-02-02 09:59:29.000000000 +0100
+++ examples/math_test.sh	2012-02-02 09:59:56.000000000 +0100
@@ -24,4 +24,4 @@
 }
 
 # load and run shUnit2
-. ../src/shunit2
+. @SHUNIT_HOME@/src/shunit2
diff -ur examples.bak/mkdir_test.sh examples/mkdir_test.sh
--- examples.bak/mkdir_test.sh	2012-02-02 10:00:08.000000000 +0100
+++ examples/mkdir_test.sh	2012-02-02 10:00:17.000000000 +0100
@@ -86,4 +86,4 @@
 
 # load and run shUnit2
 [ -n "${ZSH_VERSION:-}" ] && SHUNIT_PARENT=$0
-. ../src/shunit2
+. @SHUNIT_HOME@/src/shunit2
diff -ur examples.bak/party_test.sh examples/party_test.sh
--- examples.bak/party_test.sh	2012-02-02 10:00:24.000000000 +0100
+++ examples/party_test.sh	2012-02-02 10:00:35.000000000 +0100
@@ -14,4 +14,4 @@
 }
 
 # load shunit2
-. ../src/shunit2
+. @SHUNIT_HOME@/src/shunit2
openSUSE Build Service is sponsored by