Files
rtems/testsuites/sptests/spprintk/spprintk.scn
Joel Sherrill ba959a4b1c 2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* spprintk/init.c, spprintk/spprintk.doc, spprintk/spprintk.scn: Clean
	up and add test of getchark().
2010-07-14 23:17:48 +00:00

32 lines
725 B
Plaintext

*** TEST PRINTK ***
This is a test of putk
bad format -- %q in parentheses (q)
bad format -- %lq in parentheses (q)
%O octal upper case 16 -- 20
%o octal lower case of 16 -- 20
%I of 16 -- 16
%i of 16 -- 16
%D of 16 -- 16
%d of 16 -- 16
%-3d of 16 -- 16
%U of 16 -- 16
%u of 16 -- 16
%X of 16 -- 10
%x of 16 -- 10
%p of 0x1234 -- 1234
%d of -16 -- -16
%d of -16 -- -16
%u of -16 -- 4294967280
%s of Mary Had a Little Lamb -- (Mary Had a Little Lamb)
%s of NULL -- ()
%12s of joel -- ( joel)
%4s of joel -- (joel)
%-12s of joel -- (joel )
%-4s of joel -- (joel)
%c of X -- (X)
getchark - NULL getchar method - return -1
getchark - test getchar method - returns 0x35
*** END OF TEST PRINTK ***