1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #13619394 - MAKE TEST FAILS ON MY_VSNPRINTF

This commit is contained in:
unknown
2013-02-22 15:22:15 +01:00
parent eac8f5a16a
commit 04780043ef

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@ -154,8 +154,10 @@ int main(void)
test1("conn 1 to: '(null)' user: '(null)' host: '(null)' ((null))",
"conn %ld to: '%-.64s' user: '%-.32s' host: '%-.64s' (%-.64s)",
1L, NULL, NULL, NULL, NULL);
#if defined (__GNUC__)
test1("Hello string `I am a string`",
"Hello string %`s", "I am a string");
#endif
test1("Hello TEST",
"Hello %05s", "TEST");
test1("My `Q` test",