diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/insserv/files/run-ptest | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/quilt/quilt-0.63.inc | 2 | ||||
-rwxr-xr-x | meta/recipes-devtools/quilt/quilt/run-ptest | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/tcltk/tcl/run-ptest | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-devtools/insserv/files/run-ptest b/meta/recipes-devtools/insserv/files/run-ptest index 495d1551c2..4a6da3030a 100644 --- a/meta/recipes-devtools/insserv/files/run-ptest +++ b/meta/recipes-devtools/insserv/files/run-ptest @@ -11,7 +11,7 @@ output() { } for i in test_simple_sequence test_undetected_loop; \ - do $i &>/dev/null ; output; \ + do $i >/dev/null 2>&1; output; \ done rm -rf ${tmpdir} diff --git a/meta/recipes-devtools/quilt/quilt-0.63.inc b/meta/recipes-devtools/quilt/quilt-0.63.inc index f3757859ff..433d6b4089 100644 --- a/meta/recipes-devtools/quilt/quilt-0.63.inc +++ b/meta/recipes-devtools/quilt/quilt-0.63.inc @@ -55,5 +55,5 @@ do_install_ptest() { RDEPENDS_${PN}-ptest = "make file sed gawk diffutils findutils ed perl \ perl-module-filehandle perl-module-getopt-std \ perl-module-posix perl-module-file-temp \ - perl-module-text-parsewords \ + perl-module-text-parsewords bash \ " diff --git a/meta/recipes-devtools/quilt/quilt/run-ptest b/meta/recipes-devtools/quilt/quilt/run-ptest index 1ea0dae128..958a9df5b6 100755 --- a/meta/recipes-devtools/quilt/quilt/run-ptest +++ b/meta/recipes-devtools/quilt/quilt/run-ptest @@ -1,5 +1,5 @@ #!/bin/sh ln -sf /bin/ed /usr/bin/ed -for i in `ls test/*.test |awk -F. '{print $1}' |awk -F/ '{print $2}'`; do make check-$i; if [ $? == 0 ]; then echo PASS: $i.test; else echo FAIL: $i.test; fi; done +for i in `ls test/*.test |awk -F. '{print $1}' |awk -F/ '{print $2}'`; do make check-$i; if [ $? -eq 0 ]; then echo PASS: $i.test; else echo FAIL: $i.test; fi; done rm -f /usr/bin/ed diff --git a/meta/recipes-devtools/tcltk/tcl/run-ptest b/meta/recipes-devtools/tcltk/tcl/run-ptest index a5d6548d2a..dadba655f2 100644 --- a/meta/recipes-devtools/tcltk/tcl/run-ptest +++ b/meta/recipes-devtools/tcltk/tcl/run-ptest @@ -1,8 +1,8 @@ #!/bin/sh for i in `ls tests/*.test |awk -F/ '{print $2}'`; \ - do TCL_LIBRARY=library ./tcltest tests/all.tcl -file $i &>$i.tmp; \ + do TCL_LIBRARY=library ./tcltest tests/all.tcl -file $i >$i.tmp 2>&1; \ grep -q "^Files with failing tests:" $i.tmp; \ - if [ $? == 0 ]; then echo "FAIL: $i"; \ + if [ $? -eq 0 ]; then echo "FAIL: $i"; \ else echo "PASS: $i"; rm -f $i.tmp; fi; \ done |