b478cd
diff -rup yajl-2.1.0.orig/test/api/run_tests.sh yajl-2.1.0.new/test/api/run_tests.sh
b478cd
--- yajl-2.1.0.orig/test/api/run_tests.sh	2014-03-19 04:58:29.000000000 +0000
b478cd
+++ yajl-2.1.0.new/test/api/run_tests.sh	2014-04-28 11:27:26.006405320 +0100
b478cd
@@ -5,7 +5,7 @@ echo Running api tests:
b478cd
 tests=0
b478cd
 passed=0
b478cd
 
b478cd
-for file in `ls`; do
b478cd
+for file in `ls ../../build/test/api`; do
b478cd
     [ ! -x $file -o -d $file ] && continue
b478cd
     tests=`expr 1 + $tests`
b478cd
     printf " test(%s): " $file
b478cd
diff -rup yajl-2.1.0.orig/test/parsing/run_tests.sh yajl-2.1.0.new/test/parsing/run_tests.sh
b478cd
--- yajl-2.1.0.orig/test/parsing/run_tests.sh	2014-03-19 04:58:29.000000000 +0000
b478cd
+++ yajl-2.1.0.new/test/parsing/run_tests.sh	2014-04-28 11:25:51.239025722 +0100
b478cd
@@ -16,11 +16,11 @@ fi
b478cd
 # find test binary on both platforms.  allow the caller to force a
b478cd
 # particular test binary (useful for non-cmake build systems).
b478cd
 if [ -z "$testBin" ]; then
b478cd
-    testBin="../build/test/parsing/Release/yajl_test.exe"
b478cd
+    testBin="../../build/test/parsing/Release/yajl_test.exe"
b478cd
     if [ ! -x $testBin ] ; then
b478cd
-        testBin="../build/test/parsing/Debug/yajl_test.exe"
b478cd
+        testBin="../../build/test/parsing/Debug/yajl_test.exe"
b478cd
         if [ ! -x $testBin ] ; then
b478cd
-            testBin="../build/test/parsing/yajl_test"
b478cd
+            testBin="../../build/test/parsing/yajl_test"
b478cd
             if [  ! -x $testBin ] ; then
b478cd
                 ${ECHO} "cannot execute test binary: '$testBin'"
b478cd
                 exit 1;