Changeset 0c37135 in mainline for kernel/test/print/print1.c


Ignore:
Timestamp:
2012-04-18T07:32:58Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5f67cd61
Parents:
3d93289a (diff), 63920b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge with mainline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/print/print1.c

    r3d93289a r0c37135  
    4141       
    4242        TPRINTF("Testing printf(\"%%8.10s\", \"text\"):\n");
    43         TPRINTF("Expected output: \"text\"\n");
     43        TPRINTF("Expected output: \"    text\"\n");
    4444        TPRINTF("Real output:     \"%8.10s\"\n\n", "text");
    4545       
     
    4848        TPRINTF("Real output:     \"%8.10s\"\n\n", "very long text");
    4949       
     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       
    5054        return NULL;
    5155}
Note: See TracChangeset for help on using the changeset viewer.