Back to home page

LXR

 
 

    


Warning, /testsuites/sptests/spprintk/spprintk.scn is written in an unsupported language. File is not indexed.

0001 *** BEGIN OF TEST SPPRINTK ***
0002 This is a test of putk
0003 
0004 bad format                   -- %q in parentheses (%q)
0005 bad format                   -- %lq in parentheses (%lq)
0006 %o of 16                     -- 20
0007 %i of 16                     -- 16
0008 %d of 16                     -- 16
0009 '%-3d' of 16                 -- '16 '
0010 '%3d' of 16                  -- ' 16'
0011 %u of 16                     -- 16
0012 %X of 16                     -- 10
0013 %x of 16                     -- 10
0014 %p of 0x1234                 -- 0x1234
0015 %lo of 2147483647            -- 17777777777
0016 %li of 2147483647            -- 2147483647
0017 %lu of 2147483647            -- 2147483647
0018 %lx of 2147483647            -- 7fffffff
0019 %lo of -2147483648           -- 20000000000
0020 %li of -2147483648           -- -2147483648
0021 %lx of -2147483648           -- 80000000
0022 %lo of 4294967295            -- 37777777777
0023 %lu of 4294967295            -- 4294967295
0024 %lx of 4294967295            -- ffffffff
0025 %llo of 9223372036854775807  -- 777777777777777777777
0026 %lli of 9223372036854775807  -- 9223372036854775807
0027 %llu of 9223372036854775807  -- 9223372036854775807
0028 %llx of 9223372036854775807  -- 7fffffffffffffff
0029 %llo of -9223372036854775808 -- 1000000000000000000000
0030 %lli of -9223372036854775808 -- -9223372036854775808
0031 %llx of -9223372036854775808 -- 8000000000000000
0032 %llo of 18446744073709551615 -- 1777777777777777777777
0033 %llu of 18446744073709551615 -- 18446744073709551615
0034 %llx of 18446744073709551615 -- ffffffffffffffff
0035 %d of -16                    -- -16
0036 %d of -16                    -- -16
0037 %u of -16                    -- 4294967280
0038 %s of Mary Had a Little Lamb -- 'Mary Had a Little Lamb'
0039 %s of NULL                   -- '(null)'
0040 %12s of joel                 -- '                joel'
0041 %4s of joel                  -- 'joel'
0042 %-12s of joel                -- 'joel                '
0043 %-4s of joel                 -- 'joel'
0044 %c of X                      -- 'X'
0045 %hhu of X                    -- 88
0046 
0047 getchark - NULL getchar method - return -1
0048 getchark - test getchar method - returns 0x35
0049 
0050 *** END OF TEST SPPRINTK ***