Changeset 64a617f in mainline for kernel/test/print/print1.c


Ignore:
Timestamp:
2012-04-17T10:21:04Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
63920b0
Parents:
96c0b7b
Message:

backport printf fixes to kernel and boot

File:
1 edited

Legend:

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

    r96c0b7b r64a617f  
    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.