diff options
author | unknown <sayantan.dutta@oracle.com> | 2013-02-22 15:22:15 +0100 |
---|---|---|
committer | unknown <sayantan.dutta@oracle.com> | 2013-02-22 15:22:15 +0100 |
commit | 04780043ef2bc42780d923c1535051cbe2f3bca9 (patch) | |
tree | f6ce10b835d676f4b7624d0ac7cfd8579cbfc70b /unittest | |
parent | eac8f5a16a7480a1c1e4ab3f533b9cd79ce53568 (diff) | |
download | mariadb-git-04780043ef2bc42780d923c1535051cbe2f3bca9.tar.gz |
Bug #13619394 - MAKE TEST FAILS ON MY_VSNPRINTF
Diffstat (limited to 'unittest')
-rw-r--r-- | unittest/mysys/my_vsnprintf-t.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unittest/mysys/my_vsnprintf-t.c b/unittest/mysys/my_vsnprintf-t.c index 06f6878826a..349e7469141 100644 --- a/unittest/mysys/my_vsnprintf-t.c +++ b/unittest/mysys/my_vsnprintf-t.c @@ -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", |