summaryrefslogtreecommitdiff
path: root/modules/unistr
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-01-10 23:42:54 +0100
committerBruno Haible <bruno@clisp.org>2010-01-10 23:42:54 +0100
commit6b5b875759e89647c677b9e9dd6de9c82a2f8e76 (patch)
tree5bb8cac25128d0a7f54b5840b59ee1432f8fa400 /modules/unistr
parent7155a693a1a6d31c2323e5ed3bbc18d7282d69c6 (diff)
downloadgnulib-6b5b875759e89647c677b9e9dd6de9c82a2f8e76.tar.gz
Tests for module 'unistr/u32-strncat'.
Diffstat (limited to 'modules/unistr')
-rw-r--r--modules/unistr/u32-strncat-tests20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/unistr/u32-strncat-tests b/modules/unistr/u32-strncat-tests
new file mode 100644
index 0000000000..8703de0a78
--- /dev/null
+++ b/modules/unistr/u32-strncat-tests
@@ -0,0 +1,20 @@
+Files:
+tests/unistr/test-u32-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-u32-strncat
+check_PROGRAMS += test-u32-strncat
+test_u32_strncat_SOURCES = unistr/test-u32-strncat.c