[hackers] [sbase] tests: Minor modifications and fixes || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 19 Jan 2026 16:28:59 +0100 (CET)

commit 40a4999b60355a8e498f1d228469aeca17f9a698
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
AuthorDate: Mon Jan 19 16:25:04 2026 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
CommitDate: Mon Jan 19 16:25:04 2026 +0100

    tests: Minor modifications and fixes

diff --git a/tests/0045-dc.sh b/tests/0045-dc.sh
index a4a22e1..4c10225 100755
--- a/tests/0045-dc.sh
+++ b/tests/0045-dc.sh
_AT_@ -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
deleted file mode 100755
index 9c751e1..0000000
--- a/tests/0046-dc.c
+++ /dev/null
_AT_@ -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
similarity index 100%
rename from tests/0026-tr.sh
rename to tests/0047-tr.sh
diff --git a/tests/Makefile b/tests/Makefile
index 1311918..22f8964 100644
--- a/tests/Makefile
+++ b/tests/Makefile
_AT_@ -3,4 +3,4 @@ all:
 
 clean:
         rm -f test.log
- rm -f tmp*
+ rm -rf tmp*
Received on Mon Jan 19 2026 - 16:28:59 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 19 2026 - 16:36:33 CET