summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libcurses/tests/addchnstr
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/lib/libcurses/tests/addchnstr')
-rw-r--r--contrib/netbsd-tests/lib/libcurses/tests/addchnstr5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libcurses/tests/addchnstr b/contrib/netbsd-tests/lib/libcurses/tests/addchnstr
new file mode 100644
index 0000000..661bf74
--- /dev/null
+++ b/contrib/netbsd-tests/lib/libcurses/tests/addchnstr
@@ -0,0 +1,5 @@
+include start
+# note that there are more characters in the array, check we only get 5 out
+call OK addchnstr `\004a\004b\004c\004d\004e\004f\004g` 5
+call OK refresh
+compare addchstr.chk
OpenPOWER on IntegriCloud