diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2020-01-09 18:34:09 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2020-01-09 18:34:09 +0000 |
commit | abf98c123808155e14a6f11ff03360a4d4dc7c9f (patch) | |
tree | 95c666c1923dda1de605cd451af47ea4a0427b98 /bin/ed | |
parent | aebe2d97422ebb8a9eaa1ce8234e07a699207e6b (diff) |
Rev 1.17 of sub.c removed infinite loop detection from s command.
Adapt substitute test to new ed(1) behavior. Note that substitute
result from sed(1) is still different.
Diffstat (limited to 'bin/ed')
-rw-r--r-- | bin/ed/test/s2.err | 4 | ||||
-rw-r--r-- | bin/ed/test/s4.d | 1 | ||||
-rw-r--r-- | bin/ed/test/s4.r | 1 | ||||
-rw-r--r-- | bin/ed/test/s4.t | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/bin/ed/test/s2.err b/bin/ed/test/s2.err deleted file mode 100644 index b5c851df7b2..00000000000 --- a/bin/ed/test/s2.err +++ /dev/null @@ -1,4 +0,0 @@ -a -a -. -s/x*/a/g diff --git a/bin/ed/test/s4.d b/bin/ed/test/s4.d new file mode 100644 index 00000000000..78981922613 --- /dev/null +++ b/bin/ed/test/s4.d @@ -0,0 +1 @@ +a diff --git a/bin/ed/test/s4.r b/bin/ed/test/s4.r new file mode 100644 index 00000000000..86ae29c8445 --- /dev/null +++ b/bin/ed/test/s4.r @@ -0,0 +1 @@ +ba diff --git a/bin/ed/test/s4.t b/bin/ed/test/s4.t new file mode 100644 index 00000000000..5e4fe76385b --- /dev/null +++ b/bin/ed/test/s4.t @@ -0,0 +1 @@ +s/x*/b/g |