Changeset a35b458 in mainline for kernel/test/print/print1.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/print/print1.c
r3061bc1 ra35b458 36 36 TPRINTF("Expected output: \" tex\"\n"); 37 37 TPRINTF("Real output: \"%*.*s\"\n\n", 5, 3, "text"); 38 38 39 39 TPRINTF("Testing printf(\"%%10.8s\", \"very long text\"):\n"); 40 40 TPRINTF("Expected output: \" very lon\"\n"); 41 41 TPRINTF("Real output: \"%10.8s\"\n\n", "very long text"); 42 42 43 43 TPRINTF("Testing printf(\"%%8.10s\", \"text\"):\n"); 44 44 TPRINTF("Expected output: \" text\"\n"); 45 45 TPRINTF("Real output: \"%8.10s\"\n\n", "text"); 46 46 47 47 TPRINTF("Testing printf(\"%%8.10s\", \"very long text\"):\n"); 48 48 TPRINTF("Expected output: \"very long \"\n"); 49 49 TPRINTF("Real output: \"%8.10s\"\n\n", "very long text"); 50 50 51 51 TPRINTF("Testing printf(\"%%-*.*s\", 7, 7, \"text\"):\n"); 52 52 TPRINTF("Expected output: \"text \"\n"); 53 53 TPRINTF("Real output: \"%-*.*s\"\n\n", 7, 7, "text"); 54 54 55 55 return NULL; 56 56 }
Note:
See TracChangeset
for help on using the changeset viewer.