From f8f5b0f545d48e5210d806d5f8029b79e4b17895 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 17 Nov 2003 11:13:39 +0000 Subject: Test drop ('R'). --- regress/usr.bin/dc/Makefile | 5 +++-- regress/usr.bin/dc/t17.in | 3 +++ regress/usr.bin/dc/t17.out | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 regress/usr.bin/dc/t17.in create mode 100644 regress/usr.bin/dc/t17.out (limited to 'regress/usr.bin/dc') 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 -- cgit v1.2.3