summaryrefslogtreecommitdiff
path: root/tests/unistr/test-u8-strcat.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-01-10 23:40:00 +0100
committerBruno Haible <bruno@clisp.org>2010-01-10 23:40:00 +0100
commitd92b810e7aa61a2915001334db4a9fbd92842516 (patch)
tree3242dc572cfc66180016f7eeebc4df01c8c2f14e /tests/unistr/test-u8-strcat.c
parent9e61996a793f2663f12b0fa84019f0c7bf136527 (diff)
downloadgnulib-d92b810e7aa61a2915001334db4a9fbd92842516.tar.gz
Tests for module 'unistr/u8-strcat'.
Diffstat (limited to 'tests/unistr/test-u8-strcat.c')
-rw-r--r--tests/unistr/test-u8-strcat.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/unistr/test-u8-strcat.c b/tests/unistr/test-u8-strcat.c
new file mode 100644
index 0000000000..7fa9e84e11
--- /dev/null
+++ b/tests/unistr/test-u8-strcat.c
@@ -0,0 +1,28 @@
+/* Test of u8_strcat() function.
+ Copyright (C) 2010 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+/* Written by Bruno Haible <bruno@clisp.org>, 2010. */
+
+#include <config.h>
+
+#include "unistr.h"
+
+#include "macros.h"
+
+#define UNIT uint8_t
+#define U_STRCAT u8_strcat
+#define MAGIC 0xBA
+#include "test-strcat.h"