diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-11-17 11:13:39 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-11-17 11:13:39 +0000 |
commit | f8f5b0f545d48e5210d806d5f8029b79e4b17895 (patch) | |
tree | 8900a73bc6b2beb0e6cedc482798e4033d10572a | |
parent | 69a52453f852dfcc264e1b848b8bbf26dfc4b3d6 (diff) |
Test drop ('R').
-rw-r--r-- | regress/usr.bin/dc/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/dc/t17.in | 3 | ||||
-rw-r--r-- | regress/usr.bin/dc/t17.out | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/regress/usr.bin/dc/Makefile b/regress/usr.bin/dc/Makefile index 44949d3ac25..a0951a6d06e 100644 --- a/regress/usr.bin/dc/Makefile +++ b/regress/usr.bin/dc/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.6 2003/11/14 20:27:17 otto Exp $ +# $OpenBSD: Makefile,v 1.7 2003/11/17 11:13:38 otto Exp $ DC=dc -REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 +REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 t17 # .in: input file # .out: desired result @@ -22,6 +22,7 @@ REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15 t16 # t14: test N, G, ( and { # t15: more N, G, ( and { # t16: even more N, G, ( and { +# t17: test R (drop) all: clean ${REGRESS_TARGET} diff --git a/regress/usr.bin/dc/t17.in b/regress/usr.bin/dc/t17.in new file mode 100644 index 00000000000..8236bebfaee --- /dev/null +++ b/regress/usr.bin/dc/t17.in @@ -0,0 +1,3 @@ +1 2Rf +Rf +[foo][bar]rRf diff --git a/regress/usr.bin/dc/t17.out b/regress/usr.bin/dc/t17.out new file mode 100644 index 00000000000..29295c37eec --- /dev/null +++ b/regress/usr.bin/dc/t17.out @@ -0,0 +1,2 @@ +1 +bar |