Ignore:
File:
1 edited

Legend:

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

    rd16fc78 rcb01e1e  
    3030#include <test.h>
    3131
    32 const char *test_print1(void)
     32char *test_print1(void)
    3333{
    3434        TPRINTF("Testing printf(\"%%*.*s\", 5, 3, \"text\"):\n");
     
    4848        TPRINTF("Real output:     \"%8.10s\"\n\n", "very long text");
    4949       
     50        TPRINTF("Testing printf(\"%%s\", NULL):\n");
     51        TPRINTF("Expected output: \"(NULL)\"\n");
     52        TPRINTF("Real output:     \"%s\"\n\n", NULL);
     53       
    5054        return NULL;
    5155}
Note: See TracChangeset for help on using the changeset viewer.