Changes in kernel/test/print/print1.c [64a617f:d16fc78] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/print/print1.c
r64a617f rd16fc78 41 41 42 42 TPRINTF("Testing printf(\"%%8.10s\", \"text\"):\n"); 43 TPRINTF("Expected output: \" 43 TPRINTF("Expected output: \"text\"\n"); 44 44 TPRINTF("Real output: \"%8.10s\"\n\n", "text"); 45 45 … … 48 48 TPRINTF("Real output: \"%8.10s\"\n\n", "very long text"); 49 49 50 TPRINTF("Testing printf(\"%%-*.*s\", 7, 7, \"text\"):\n");51 TPRINTF("Expected output: \"text \"\n");52 TPRINTF("Real output: \"%-*.*s\"\n\n", 7, 7, "text");53 54 50 return NULL; 55 51 }
Note:
See TracChangeset
for help on using the changeset viewer.