Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/print/print1.c

    rd16fc78 r2d11a7d8  
    3131#include "../tester.h"
    3232
    33 const char *test_print1(void)
     33char *test_print1(void)
    3434{
    3535        TPRINTF("Testing printf(\"%%*.*s\", 5, 3, \"text\"):\n");
     
    4949        TPRINTF("Real output:     \"%8.10s\"\n\n", "very long text");
    5050       
     51        TPRINTF("Testing printf(\"%%s\", NULL):\n");
     52        TPRINTF("Expected output: \"(NULL)\"\n");
     53        TPRINTF("Real output:     \"%s\"\n\n", NULL);
     54       
    5155        return NULL;
    5256}
Note: See TracChangeset for help on using the changeset viewer.