summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-03-29 10:54:57 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-03-29 10:54:57 +0000
commitef997527d5010400bfadbe4d11dd252dfc3ef572 (patch)
tree3235fd29f21d5a0230bf1571d740124a14dcf70d /regress/usr.bin
parent40b5cc0a9d53a7b2b2ff8d86dd582391f5e400f4 (diff)
Adapt to new wrapping, including new test.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/dc/Makefile5
-rw-r--r--regress/usr.bin/dc/t1.out3
-rw-r--r--regress/usr.bin/dc/t24.in8
-rw-r--r--regress/usr.bin/dc/t24.out19
-rw-r--r--regress/usr.bin/dc/t9.out6
5 files changed, 33 insertions, 8 deletions
diff --git a/regress/usr.bin/dc/Makefile b/regress/usr.bin/dc/Makefile
index e2935566fb8..01597d39e68 100644
--- a/regress/usr.bin/dc/Makefile
+++ b/regress/usr.bin/dc/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.14 2005/03/27 17:45:44 otto Exp $
+# $OpenBSD: Makefile,v 1.15 2005/03/29 10:54:56 otto Exp $
DC=dc -x
REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 \
- t18 t19 t20 t21 t22 t23
+ t18 t19 t20 t21 t22 t23 t24
# .in: input file
# .out: desired result
@@ -31,6 +31,7 @@ REGRESS_TARGETS=t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 \
# t21: 500 decimals of pi
# t22: sqrt
# t23: factorial 1000
+# t24: line continuations
all: clean ${REGRESS_TARGET}
diff --git a/regress/usr.bin/dc/t1.out b/regress/usr.bin/dc/t1.out
index 59b3dce3669..55f545d0319 100644
--- a/regress/usr.bin/dc/t1.out
+++ b/regress/usr.bin/dc/t1.out
@@ -114,8 +114,7 @@
00000000000000000000000000000000000000000000000000000000000000000000\
00000000000000000000000000000000000000000000000000000000000000000000\
00000000000000000000000000000000000000000000000000000000000000000000\
-00000000000000000000000000000000000000000000000000000000000000000000\
-0
+000000000000000000000000000000000000000000000000000000000000000000000
3162277660168379331.998893544432718533719555139325
.5674356437801462540323380286417965925128630
2
diff --git a/regress/usr.bin/dc/t24.in b/regress/usr.bin/dc/t24.in
new file mode 100644
index 00000000000..1df961fb7b9
--- /dev/null
+++ b/regress/usr.bin/dc/t24.in
@@ -0,0 +1,8 @@
+10 68 ^p
+10 69 ^p
+10 70 ^p
+10 71 ^p
+10 137 ^p
+10 138 ^p
+10 139 ^p
+10 140 ^p
diff --git a/regress/usr.bin/dc/t24.out b/regress/usr.bin/dc/t24.out
new file mode 100644
index 00000000000..df027c6f499
--- /dev/null
+++ b/regress/usr.bin/dc/t24.out
@@ -0,0 +1,19 @@
+100000000000000000000000000000000000000000000000000000000000000000000
+10000000000000000000000000000000000000000000000000000000000000000000\
+00
+10000000000000000000000000000000000000000000000000000000000000000000\
+000
+10000000000000000000000000000000000000000000000000000000000000000000\
+0000
+10000000000000000000000000000000000000000000000000000000000000000000\
+00000000000000000000000000000000000000000000000000000000000000000000\
+00
+10000000000000000000000000000000000000000000000000000000000000000000\
+00000000000000000000000000000000000000000000000000000000000000000000\
+000
+10000000000000000000000000000000000000000000000000000000000000000000\
+00000000000000000000000000000000000000000000000000000000000000000000\
+0000
+10000000000000000000000000000000000000000000000000000000000000000000\
+00000000000000000000000000000000000000000000000000000000000000000000\
+00000
diff --git a/regress/usr.bin/dc/t9.out b/regress/usr.bin/dc/t9.out
index 6f5cd604cb6..6b1e7a314f1 100644
--- a/regress/usr.bin/dc/t9.out
+++ b/regress/usr.bin/dc/t9.out
@@ -623,8 +623,7 @@ A.19
02011022212101121001001101020222002201120001121120201001101002110100\
12020002002011222221202102021121002222210110200221201002201120200112\
10220102100101112010010000122112020110201001101001202211101102212022\
-02210002101011100101101222221001210111202201020010012011200121012.10\
-1
+02210002101011100101101222221001210111202201020010012011200121012.101
* 4
31320002223131120132030221121122113032222133033123200313303003230102\
33103032002022201032221120023130130323230220132131012302111333120330\
@@ -658,8 +657,7 @@ A.19
1516259259543195854037051.4
* 16
3780AB75878CA596973AA7CF6E0DF30EC4BD33822A13A960B71CEECA1E746C95FD8F\
-08462EDDC17EBDBF89BCD97A35246D5467DD5FC015A96F04835BFADAFA5E6BE03B.6\
-
+08462EDDC17EBDBF89BCD97A35246D5467DD5FC015A96F04835BFADAFA5E6BE03B.6
* 17
05 06 04 04 11 15 12 04 15 01 03 12 16 07 15 07 15 08 02 14 06 05 0\
7 08 14 07 13 04 12 16 02 10 04 02 08 11 05 12 04 10 05 16 04 07 14 \