summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorsayantan dutta <sayantan.dutta@oracle.com>2013-05-16 18:14:25 +0530
committersayantan dutta <sayantan.dutta@oracle.com>2013-05-16 18:14:25 +0530
commit01b6e8e71b87a2700683ecd6d16f15e574e82f33 (patch)
tree3eaf6ff3141594d4c7207cc3c3b9db0114b87c9a /unittest
parent3e5ce14c60b7766c62bc1466cb76f52623848d5e (diff)
downloadmariadb-git-01b6e8e71b87a2700683ecd6d16f15e574e82f33.tar.gz
BUG #16813006 - UNIT TEST FOR MY_VSNPRINTF FAIL FOR NON GNU COMPILER
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/my_vsnprintf-t.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unittest/mysys/my_vsnprintf-t.c b/unittest/mysys/my_vsnprintf-t.c
index 349e7469141..17b95b8e8e1 100644
--- a/unittest/mysys/my_vsnprintf-t.c
+++ b/unittest/mysys/my_vsnprintf-t.c
@@ -157,6 +157,9 @@ int main(void)
#if defined (__GNUC__)
test1("Hello string `I am a string`",
"Hello string %`s", "I am a string");
+#else
+ test1("Hello string `I am a string`",
+ "Hello string %s", "I am a string");
#endif
test1("Hello TEST",
"Hello %05s", "TEST");