tests: Minor improvements to 0006-ed.sh - sbase - suckless unix tools
(HTM) git clone git://git.suckless.org/sbase
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 13db2e48d4b7899c04d7fdbc88cab29397b3f44b
(DIR) parent 96b9a71acfa88f613980cfc39054577e0e63be47
(HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Mon, 8 Dec 2025 18:11:19 +0100
tests: Minor improvements to 0006-ed.sh
Diffstat:
M tests/0006-ed.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/tests/0006-ed.sh b/tests/0006-ed.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-../ed <<EOF | (read a && read b && test $a-$b == 1-2)
+../ed -s /dev/null <<EOF | (read a && read b && test $a-$b == 1-2)
0a
1
2
@@ -11,4 +11,5 @@
.
1z1
z1
+w
EOF