Ignore:
File:
1 edited

Legend:

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

    r9d58539 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.