Bug #13619394 - MAKE TEST FAILS ON MY_VSNPRINTF
This commit is contained in:
parent
eac8f5a16a
commit
04780043ef
@ -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
|
This program is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU General Public License as
|
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))",
|
test1("conn 1 to: '(null)' user: '(null)' host: '(null)' ((null))",
|
||||||
"conn %ld to: '%-.64s' user: '%-.32s' host: '%-.64s' (%-.64s)",
|
"conn %ld to: '%-.64s' user: '%-.32s' host: '%-.64s' (%-.64s)",
|
||||||
1L, NULL, NULL, NULL, NULL);
|
1L, NULL, NULL, NULL, NULL);
|
||||||
|
#if defined (__GNUC__)
|
||||||
test1("Hello string `I am a string`",
|
test1("Hello string `I am a string`",
|
||||||
"Hello string %`s", "I am a string");
|
"Hello string %`s", "I am a string");
|
||||||
|
#endif
|
||||||
test1("Hello TEST",
|
test1("Hello TEST",
|
||||||
"Hello %05s", "TEST");
|
"Hello %05s", "TEST");
|
||||||
test1("My `Q` test",
|
test1("My `Q` test",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user