summaryrefslogtreecommitdiff
path: root/bin/ed
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2020-01-09 17:16:38 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2020-01-09 17:16:38 +0000
commitad404ffee561fd866ebd239bd1bd93475fdbed45 (patch)
treec6aa8420828c86ee1e9c8c9d83379d9b23d9b5eb /bin/ed
parent08824c7fd5e8c229c3e16d64e529981b817f50a8 (diff)
Rev 1.59 of main.c allows omission of addresses in a range.
Adapt ed test.
Diffstat (limited to 'bin/ed')
-rw-r--r--bin/ed/test/d0.d5
-rw-r--r--bin/ed/test/d0.r0
-rw-r--r--bin/ed/test/d0.t1
-rw-r--r--bin/ed/test/d1.d5
-rw-r--r--bin/ed/test/d1.r2
-rw-r--r--bin/ed/test/d1.t1
-rw-r--r--bin/ed/test/d2.d5
-rw-r--r--bin/ed/test/d2.r4
-rw-r--r--bin/ed/test/d2.t1
-rw-r--r--bin/ed/test/d3.d5
-rw-r--r--bin/ed/test/d3.r1
-rw-r--r--bin/ed/test/d3.t2
-rw-r--r--bin/ed/test/d4.d5
-rw-r--r--bin/ed/test/d4.r3
-rw-r--r--bin/ed/test/d4.t2
-rw-r--r--bin/ed/test/d5.d5
-rw-r--r--bin/ed/test/d5.r4
-rw-r--r--bin/ed/test/d5.t2
-rw-r--r--bin/ed/test/nl.err1
19 files changed, 53 insertions, 1 deletions
diff --git a/bin/ed/test/d0.d b/bin/ed/test/d0.d
new file mode 100644
index 00000000000..92f337e977f
--- /dev/null
+++ b/bin/ed/test/d0.d
@@ -0,0 +1,5 @@
+line 1
+line 2
+line 3
+line 4
+line5
diff --git a/bin/ed/test/d0.r b/bin/ed/test/d0.r
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/bin/ed/test/d0.r
diff --git a/bin/ed/test/d0.t b/bin/ed/test/d0.t
new file mode 100644
index 00000000000..5725f1046d0
--- /dev/null
+++ b/bin/ed/test/d0.t
@@ -0,0 +1 @@
+,d
diff --git a/bin/ed/test/d1.d b/bin/ed/test/d1.d
new file mode 100644
index 00000000000..92f337e977f
--- /dev/null
+++ b/bin/ed/test/d1.d
@@ -0,0 +1,5 @@
+line 1
+line 2
+line 3
+line 4
+line5
diff --git a/bin/ed/test/d1.r b/bin/ed/test/d1.r
new file mode 100644
index 00000000000..071c8f373dd
--- /dev/null
+++ b/bin/ed/test/d1.r
@@ -0,0 +1,2 @@
+line 4
+line5
diff --git a/bin/ed/test/d1.t b/bin/ed/test/d1.t
new file mode 100644
index 00000000000..0bdfc29e1f2
--- /dev/null
+++ b/bin/ed/test/d1.t
@@ -0,0 +1 @@
+,3d
diff --git a/bin/ed/test/d2.d b/bin/ed/test/d2.d
new file mode 100644
index 00000000000..92f337e977f
--- /dev/null
+++ b/bin/ed/test/d2.d
@@ -0,0 +1,5 @@
+line 1
+line 2
+line 3
+line 4
+line5
diff --git a/bin/ed/test/d2.r b/bin/ed/test/d2.r
new file mode 100644
index 00000000000..c29a1e3b9d8
--- /dev/null
+++ b/bin/ed/test/d2.r
@@ -0,0 +1,4 @@
+line 1
+line 2
+line 4
+line5
diff --git a/bin/ed/test/d2.t b/bin/ed/test/d2.t
new file mode 100644
index 00000000000..34a3f8d0e42
--- /dev/null
+++ b/bin/ed/test/d2.t
@@ -0,0 +1 @@
+3,d
diff --git a/bin/ed/test/d3.d b/bin/ed/test/d3.d
new file mode 100644
index 00000000000..92f337e977f
--- /dev/null
+++ b/bin/ed/test/d3.d
@@ -0,0 +1,5 @@
+line 1
+line 2
+line 3
+line 4
+line5
diff --git a/bin/ed/test/d3.r b/bin/ed/test/d3.r
new file mode 100644
index 00000000000..89b24ecec50
--- /dev/null
+++ b/bin/ed/test/d3.r
@@ -0,0 +1 @@
+line 1
diff --git a/bin/ed/test/d3.t b/bin/ed/test/d3.t
new file mode 100644
index 00000000000..50996be51db
--- /dev/null
+++ b/bin/ed/test/d3.t
@@ -0,0 +1,2 @@
+2
+;d
diff --git a/bin/ed/test/d4.d b/bin/ed/test/d4.d
new file mode 100644
index 00000000000..92f337e977f
--- /dev/null
+++ b/bin/ed/test/d4.d
@@ -0,0 +1,5 @@
+line 1
+line 2
+line 3
+line 4
+line5
diff --git a/bin/ed/test/d4.r b/bin/ed/test/d4.r
new file mode 100644
index 00000000000..0d1bbcfdc85
--- /dev/null
+++ b/bin/ed/test/d4.r
@@ -0,0 +1,3 @@
+line 1
+line 4
+line5
diff --git a/bin/ed/test/d4.t b/bin/ed/test/d4.t
new file mode 100644
index 00000000000..9ebddc6a110
--- /dev/null
+++ b/bin/ed/test/d4.t
@@ -0,0 +1,2 @@
+2
+;3d
diff --git a/bin/ed/test/d5.d b/bin/ed/test/d5.d
new file mode 100644
index 00000000000..92f337e977f
--- /dev/null
+++ b/bin/ed/test/d5.d
@@ -0,0 +1,5 @@
+line 1
+line 2
+line 3
+line 4
+line5
diff --git a/bin/ed/test/d5.r b/bin/ed/test/d5.r
new file mode 100644
index 00000000000..c29a1e3b9d8
--- /dev/null
+++ b/bin/ed/test/d5.r
@@ -0,0 +1,4 @@
+line 1
+line 2
+line 4
+line5
diff --git a/bin/ed/test/d5.t b/bin/ed/test/d5.t
new file mode 100644
index 00000000000..ef303a6e3ff
--- /dev/null
+++ b/bin/ed/test/d5.t
@@ -0,0 +1,2 @@
+4
+3;d
diff --git a/bin/ed/test/nl.err b/bin/ed/test/nl.err
deleted file mode 100644
index 8949a85006c..00000000000
--- a/bin/ed/test/nl.err
+++ /dev/null
@@ -1 +0,0 @@
-,1