summaryrefslogtreecommitdiff
path: root/bin/ed
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2020-01-09 14:58:27 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2020-01-09 14:58:27 +0000
commit2befe2c4f61368f80c6e7855e333cbb3d000b1d9 (patch)
treeb4beb30660431afcb07b1b9f60ee4fbc05329f51 /bin/ed
parent5938e9b01684d98de7b15fd01984ba1b06c6b559 (diff)
Rev 1.42 of main.c allows zero address for i command.
Adapt ed test.
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/test/i0.d1
-rw-r--r--bin/ed/test/i0.r2
-rw-r--r--bin/ed/test/i0.t (renamed from bin/ed/test/i3.err)0
3 files changed, 3 insertions, 0 deletions
diff --git a/bin/ed/test/i0.d b/bin/ed/test/i0.d
new file mode 100644
index 00000000000..a29bdeb434d
--- /dev/null
+++ b/bin/ed/test/i0.d
@@ -0,0 +1 @@
+line1
diff --git a/bin/ed/test/i0.r b/bin/ed/test/i0.r
new file mode 100644
index 00000000000..0134f398791
--- /dev/null
+++ b/bin/ed/test/i0.r
@@ -0,0 +1,2 @@
+hello world
+line1
diff --git a/bin/ed/test/i3.err b/bin/ed/test/i0.t
index 6d200c8c97e..6d200c8c97e 100644
--- a/bin/ed/test/i3.err
+++ b/bin/ed/test/i0.t