commit ea15f9b31bb39a1304f6217adfdb0fdd629518e9
parent 9d3dc8f000d6d9a74ddd112a71321a688593a328
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Fri, 24 Apr 2026 18:12:17 +0200
tests/libc: Redirect stdout before stderr
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/libc/execute/runtests.sh b/tests/libc/execute/runtests.sh
@@ -18,7 +18,7 @@ do
$CC $CFLAGS -o $i $i.c
echo '/^output:$/+;/^end:$/-'w $tmp1 | ed -s $i.c
- $EXEC ./$i 2>&1 > $tmp2 &
+ $EXEC ./$i >$tmp2 2>&1 &
pid=$!
sleep 10 && echo timeout >> $tmp2 && kill $pid 2>/dev/null&
timer=$!