stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r349041 - /incubator/stdcxx/trunk/tests/self/0.printf.cpp
Date Sat, 26 Nov 2005 00:03:53 GMT
Author: sebor
Date: Fri Nov 25 16:03:51 2005
New Revision: 349041

URL: http://svn.apache.org/viewcvs?rev=349041&view=rev
Log:
2005-11-25  Martin Sebor  <sebor@roguewave.com>

	* 0.printf.cpp: (test_signal): Exercised width and justification.

Modified:
    incubator/stdcxx/trunk/tests/self/0.printf.cpp

Modified: incubator/stdcxx/trunk/tests/self/0.printf.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/self/0.printf.cpp?rev=349041&r1=349040&r2=349041&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/self/0.printf.cpp (original)
+++ incubator/stdcxx/trunk/tests/self/0.printf.cpp Fri Nov 25 16:03:51 2005
@@ -1279,6 +1279,14 @@
     TEST ("%{K}", SIGSEGV, 0, 0, "SIGSEGV");
     TEST ("%{K}", SIGTERM, 0, 0, "SIGTERM");
     TEST ("%{K}", 12345,   0, 0, "SIG#12345");
+
+    TEST ("[%{10K}]",    SIGABRT, 0, 0, "[   SIGABRT]");
+    TEST ("[%{+10K}]",   SIGFPE,  0, 0, "[    SIGFPE]");
+    TEST ("[%{-10K}]",   SIGILL,  0, 0, "[SIGILL    ]");
+    TEST ("[%{.3K}]",    SIGINT,  0, 0, "[SIG]");
+    TEST ("[%{10.3K}]",  SIGSEGV, 0, 0, "[       SIG]");
+    TEST ("[%{+10.3K}]", SIGTERM, 0, 0, "[       SIG]");
+    TEST ("[%{-10.3K}]", 12345,   0, 0, "[SIG       ]");
 }
 
 /***********************************************************************/



Mime
View raw message