summaryrefslogtreecommitdiff
path: root/modules/unistr
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-01-10 23:41:51 +0100
committerBruno Haible <bruno@clisp.org>2010-01-10 23:41:51 +0100
commit66386c8f7568b97af407aa6571a9f3427f497d3e (patch)
treeeb3e16d10ef35c54a25b1404a8987b568958a29d /modules/unistr
parent45df4e51c11ef82a30eb6f8dc0e82323e3882eaa (diff)
downloadgnulib-66386c8f7568b97af407aa6571a9f3427f497d3e.tar.gz
Tests for module 'unistr/u8-strncat'.
Diffstat (limited to 'modules/unistr')
-rw-r--r--modules/unistr/u8-strncat-tests20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/unistr/u8-strncat-tests b/modules/unistr/u8-strncat-tests
new file mode 100644
index 0000000000..163721221b
--- /dev/null
+++ b/modules/unistr/u8-strncat-tests
@@ -0,0 +1,20 @@
+Files:
+tests/unistr/test-u8-strncat.c
+tests/unistr/test-strncat.h
+tests/zerosize-ptr.h
+tests/macros.h
+m4/mmap-anon.m4
+
+Depends-on:
+extensions
+getpagesize
+
+configure.ac:
+gl_FUNC_MMAP_ANON
+AC_CHECK_HEADERS_ONCE([sys/mman.h])
+AC_CHECK_FUNCS_ONCE([mprotect])
+
+Makefile.am:
+TESTS += test-u8-strncat
+check_PROGRAMS += test-u8-strncat
+test_u8_strncat_SOURCES = unistr/test-u8-strncat.c