Changes in kernel/test/print/print1.c [9d58539:64a617f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/print/print1.c
r9d58539 r64a617f 41 41 42 42 TPRINTF("Testing printf(\"%%8.10s\", \"text\"):\n"); 43 TPRINTF("Expected output: \" text\"\n");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 50 54 return NULL; 51 55 }
Note:
See TracChangeset
for help on using the changeset viewer.