commit 40a4999b60355a8e498f1d228469aeca17f9a698 parent 6edd9510c2321fe4198c7d5a41db4a692a38c252 Author: Roberto E. Vargas Caballero <k0ga@shike2.net> Date: Mon, 19 Jan 2026 16:25:04 +0100 tests: Minor modifications and fixes Diffstat:
| M | tests/0045-dc.sh | | | 2 | +- |
| D | tests/0046-dc.c | | | 22 | ---------------------- |
| R | tests/0026-tr.sh -> tests/0047-tr.sh | | | 0 | |
| M | tests/Makefile | | | 2 | +- |
4 files changed, 2 insertions(+), 24 deletions(-)
diff --git a/tests/0045-dc.sh b/tests/0045-dc.sh @@ -9,7 +9,7 @@ trap 'exit $?' HUP INT TERM echo 0 > $tmp -../dc -i <<'EOF' | diff -u - $tmp +$EXEC ../dc -i <<'EOF' | diff -u - $tmp [ 0 Lxs. 2Q]s<128> [ .7853981633974483096156608458198757210492923498437764 1/ Lxs. 3Q]s<130> [K 52><130> ]s<129> diff --git a/tests/0046-dc.c b/tests/0046-dc.c @@ -1,22 +0,0 @@ -#!/bin/sh - -set -e - -tmp1=$$.tmp1 -tmp2=$$.tmp2 - -trap 'rm -f $tmp1 $tmp2' EXIT -trap 'exit $?' HUP INT TERM - -cat <<EOF >$tmp1 -../dc: stack empty -5 -148.41315910257660342111 -EOF - -echo 5p >$tmp2 - -../dc $tmp2 <<EOF 2>&1 | diff -u - $tmp1 -`echo 'e(5)' | ../bc -c ../bc.library` -la sa sa sa -EOF diff --git a/tests/0026-tr.sh b/tests/0047-tr.sh diff --git a/tests/Makefile b/tests/Makefile @@ -3,4 +3,4 @@ all: clean: rm -f test.log - rm -f tmp* + rm -rf tmp*