Changes in kernel/test/print/print1.c [d16fc78:cb01e1e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/print/print1.c
rd16fc78 rcb01e1e 30 30 #include <test.h> 31 31 32 c onst char *test_print1(void)32 char *test_print1(void) 33 33 { 34 34 TPRINTF("Testing printf(\"%%*.*s\", 5, 3, \"text\"):\n"); … … 48 48 TPRINTF("Real output: \"%8.10s\"\n\n", "very long text"); 49 49 50 TPRINTF("Testing printf(\"%%s\", NULL):\n"); 51 TPRINTF("Expected output: \"(NULL)\"\n"); 52 TPRINTF("Real output: \"%s\"\n\n", NULL); 53 50 54 return NULL; 51 55 }
Note:
See TracChangeset
for help on using the changeset viewer.