diff options
author | 2003-11-06 19:50:04 +0000 | |
---|---|---|
committer | 2003-11-06 19:50:04 +0000 | |
commit | 6689bc8f7f610415bf809cd5495e05ab115c756a (patch) | |
tree | 06059ea75ffbdaca2d6f9f6a9e4191278db1789d | |
parent | Describe non-portable extension # (comment), n (print w/o newline), (diff) | |
download | wireguard-openbsd-6689bc8f7f610415bf809cd5495e05ab115c756a.tar.xz wireguard-openbsd-6689bc8f7f610415bf809cd5495e05ab115c756a.zip |
Test #, n, and a.
-rw-r--r-- | regress/usr.bin/dc/Makefile | 5 | ||||
-rw-r--r-- | regress/usr.bin/dc/t13.in | 15 | ||||
-rw-r--r-- | regress/usr.bin/dc/t13.out | 1 |
3 files changed, 19 insertions, 2 deletions
diff --git a/regress/usr.bin/dc/Makefile b/regress/usr.bin/dc/Makefile index 2ba690412cb..6a951dfe297 100644 --- a/regress/usr.bin/dc/Makefile +++ b/regress/usr.bin/dc/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.4 2003/11/04 08:11:41 otto Exp $ +# $OpenBSD: Makefile,v 1.5 2003/11/06 19:50:04 otto Exp $ DC=dc -REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 +REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 # .in: input file # .out: desired result @@ -18,6 +18,7 @@ REGRESS_TARGETS=t1 t2 t4 t5 t6 t7 t8 t9 t10 t11 t12 # t10: test J and M operators # t11: test extended comparison operators # t12: test r operator, prints two "stack empty" warnings +# t13: test #, n and a all: clean ${REGRESS_TARGET} diff --git a/regress/usr.bin/dc/t13.in b/regress/usr.bin/dc/t13.in new file mode 100644 index 00000000000..efd58282ed4 --- /dev/null +++ b/regress/usr.bin/dc/t13.in @@ -0,0 +1,15 @@ +# Comment +# + +1n +[foo]n +[]an +[a]an +[bc]an +0an +32an +100an +100000100an +[lidan1+dsi127>a]sa +32silax +10an diff --git a/regress/usr.bin/dc/t13.out b/regress/usr.bin/dc/t13.out new file mode 100644 index 00000000000..3ab7c2d7708 --- /dev/null +++ b/regress/usr.bin/dc/t13.out @@ -0,0 +1 @@ +1fooab dd !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ |