sbase/tests/0006-ed.sh
Roberto E. Vargas Caballero 1fbc996c41 tests/ed: Fix test comparation
The string equality operator in test is = not ==.
2026-01-19 11:51:24 +01:00

16 lines
113 B
Bash
Executable File

#!/bin/sh
$EXEC ../ed -s /dev/null <<EOF | (read a && read b && test $a-$b = 1-2)
0a
1
2
3
4
5
6
.
1z1
z1
w
EOF