tests: Fix 0007-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 fbc4b4252455a126c552e6b4b35adb643ff1135c
(DIR) parent 7ff51bffd1c7fa34429b6c063fac1d4f7db85d9d
(HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Mon, 8 Dec 2025 18:20:07 +0100
tests: Fix 0007-ed.sh
Diffstat:
M tests/0007-ed.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/tests/0007-ed.sh b/tests/0007-ed.sh
@@ -8,6 +8,6 @@ trap 'rm -f $tmp' EXIT
trap 'rm -f $tmp; kill -KILL $$' HUP INT TERM
printf 'something important' > $tmp
-ed $tmp <<EOF 2>/dev/null | grep something | diff -w $tmp -
+../ed -s $tmp <<EOF 2>/dev/null | diff -w $tmp -
1p
EOF