diff options
author | marha <marha@users.sourceforge.net> | 2013-02-15 08:22:54 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-02-15 08:22:54 +0100 |
commit | 0b2fa092281e667dbb02942008b16510af1086ef (patch) | |
tree | 350352f14a2a6f98d2f5a5356eb63aeae67d6047 /xorg-server/test | |
parent | 1de47a7fc53a67beccab830178aaa0118ed4734f (diff) | |
parent | 6f6a2340d40759b77ef43965efdd24f3e4e623fd (diff) | |
download | vcxsrv-0b2fa092281e667dbb02942008b16510af1086ef.tar.gz vcxsrv-0b2fa092281e667dbb02942008b16510af1086ef.tar.bz2 vcxsrv-0b2fa092281e667dbb02942008b16510af1086ef.zip |
Merge remote-tracking branch 'origin/released'
* origin/released:
libxcb mesa xserver xkeyboard-config git update 15 Feb 2013
Diffstat (limited to 'xorg-server/test')
-rw-r--r-- | xorg-server/test/signal-logging.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/xorg-server/test/signal-logging.c b/xorg-server/test/signal-logging.c index 1ef17af2c..e0eb81006 100644 --- a/xorg-server/test/signal-logging.c +++ b/xorg-server/test/signal-logging.c @@ -199,6 +199,14 @@ static void logging_format(void) read_log_msg(logmsg); assert(strcmp(logmsg, "(EE) substituted string\n") == 0); + /* Invalid format */ +#warning Ignore compiler warning below "lacks type at end of format". This is intentional. + LogMessageVerbSigSafe(X_ERROR, -1, "%4", 4); + read_log_msg(logmsg); + assert(strcmp(logmsg, "(EE) ") == 0); + LogMessageVerbSigSafe(X_ERROR, -1, "\n"); + fseek(f, 0, SEEK_END); + /* number substitution */ ui = 0; do { |