From 52e7570b4fddd868cc0483e0fa2e49c50d5a1334 Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Wed, 19 May 2010 13:33:18 +0200 Subject: [PATCH] The tests should run when ./ is not in $PATH, too. (Thanks to Henrik Kretzschmar) --- sound/tests/test.sh | 4 ++-- stream/tests/test.sh | 4 ++-- tests/test.sh | 4 ++-- vfs/tests/test.sh | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sound/tests/test.sh b/sound/tests/test.sh index b1ca6f1a66..2d07708adc 100755 --- a/sound/tests/test.sh +++ b/sound/tests/test.sh @@ -9,10 +9,10 @@ PROGS=*_test for a in $PROGS; do if [ -f "output/$a.out" ]; then echo "Running $a:" - $a | diff output/$a.out - + ./$a | diff output/$a.out - else echo "Creating $a.out" - $a > "output/$a.out" + ./$a > "output/$a.out" git add "output/$a.out" fi done diff --git a/stream/tests/test.sh b/stream/tests/test.sh index b1ca6f1a66..2d07708adc 100755 --- a/stream/tests/test.sh +++ b/stream/tests/test.sh @@ -9,10 +9,10 @@ PROGS=*_test for a in $PROGS; do if [ -f "output/$a.out" ]; then echo "Running $a:" - $a | diff output/$a.out - + ./$a | diff output/$a.out - else echo "Creating $a.out" - $a > "output/$a.out" + ./$a > "output/$a.out" git add "output/$a.out" fi done diff --git a/tests/test.sh b/tests/test.sh index b1ca6f1a66..2d07708adc 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -9,10 +9,10 @@ PROGS=*_test for a in $PROGS; do if [ -f "output/$a.out" ]; then echo "Running $a:" - $a | diff output/$a.out - + ./$a | diff output/$a.out - else echo "Creating $a.out" - $a > "output/$a.out" + ./$a > "output/$a.out" git add "output/$a.out" fi done diff --git a/vfs/tests/test.sh b/vfs/tests/test.sh index b1ca6f1a66..2d07708adc 100755 --- a/vfs/tests/test.sh +++ b/vfs/tests/test.sh @@ -9,10 +9,10 @@ PROGS=*_test for a in $PROGS; do if [ -f "output/$a.out" ]; then echo "Running $a:" - $a | diff output/$a.out - + ./$a | diff output/$a.out - else echo "Creating $a.out" - $a > "output/$a.out" + ./$a > "output/$a.out" git add "output/$a.out" fi done