--TEST-- Test sprintf() function : usage variations - unsigned formats with integer values --SKIPIF-- --FILE-- --EXPECT-- *** Testing sprintf() : unsigned formats with integer values *** -- Iteration 1 -- string(1) "0" string(1) "u" string(1) "0" string(1) "u" string(2) " 0" string(2) "0 " string(2) " 0" string(2) " 0" string(4) " 0" string(30) " 0" string(4) "0-9]" string(1) "u" -- Iteration 2 -- string(1) "1" string(1) "u" string(1) "1" string(1) "u" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-9]" string(1) "u" -- Iteration 3 -- string(20) "18446744073709551615" string(1) "u" string(20) "18446744073709551615" string(1) "u" string(21) " 18446744073709551615" string(21) "18446744073709551615 " string(21) " 18446744073709551615" string(21) " 18446744073709551615" string(20) "18446744073709551615" string(30) " 18446744073709551615" string(4) "0-9]" string(1) "u" -- Iteration 4 -- string(20) "18446744071562067968" string(1) "u" string(20) "18446744071562067968" string(1) "u" string(21) " 18446744071562067968" string(21) "18446744071562067968 " string(21) " 18446744071562067968" string(21) " 18446744071562067968" string(20) "18446744071562067968" string(30) " 18446744071562067968" string(4) "0-9]" string(1) "u" -- Iteration 5 -- string(20) "18446744071562067969" string(1) "u" string(20) "18446744071562067969" string(1) "u" string(21) " 18446744071562067969" string(21) "18446744071562067969 " string(21) " 18446744071562067969" string(21) " 18446744071562067969" string(20) "18446744071562067969" string(30) " 18446744071562067969" string(4) "0-9]" string(1) "u" -- Iteration 6 -- string(10) "2147483647" string(1) "u" string(10) "2147483647" string(1) "u" string(11) " 2147483647" string(11) "2147483647 " string(11) " 2147483647" string(11) " 2147483647" string(10) "2147483647" string(30) " 2147483647" string(4) "0-9]" string(1) "u" -- Iteration 7 -- string(10) "2147483640" string(1) "u" string(10) "2147483640" string(1) "u" string(11) " 2147483640" string(11) "2147483640 " string(11) " 2147483640" string(11) " 2147483640" string(10) "2147483640" string(30) " 2147483640" string(4) "0-9]" string(1) "u" -- Iteration 8 -- string(4) "4667" string(1) "u" string(4) "4667" string(1) "u" string(5) " 4667" string(5) "4667 " string(5) " 4667" string(5) " 4667" string(4) "4667" string(30) " 4667" string(4) "0-9]" string(1) "u" -- Iteration 9 -- string(4) "4779" string(1) "u" string(4) "4779" string(1) "u" string(5) " 4779" string(5) "4779 " string(5) " 4779" string(5) " 4779" string(4) "4779" string(30) " 4779" string(4) "0-9]" string(1) "u" -- Iteration 10 -- string(4) "4095" string(1) "u" string(4) "4095" string(1) "u" string(5) " 4095" string(5) "4095 " string(5) " 4095" string(5) " 4095" string(4) "4095" string(30) " 4095" string(4) "0-9]" string(1) "u" -- Iteration 11 -- string(3) "250" string(1) "u" string(3) "250" string(1) "u" string(4) " 250" string(4) "250 " string(4) " 250" string(4) " 250" string(4) " 250" string(30) " 250" string(4) "0-9]" string(1) "u" -- Iteration 12 -- string(20) "18446744071562067968" string(1) "u" string(20) "18446744071562067968" string(1) "u" string(21) " 18446744071562067968" string(21) "18446744071562067968 " string(21) " 18446744071562067968" string(21) " 18446744071562067968" string(20) "18446744071562067968" string(30) " 18446744071562067968" string(4) "0-9]" string(1) "u" -- Iteration 13 -- string(10) "2147483647" string(1) "u" string(10) "2147483647" string(1) "u" string(11) " 2147483647" string(11) "2147483647 " string(11) " 2147483647" string(11) " 2147483647" string(10) "2147483647" string(30) " 2147483647" string(4) "0-9]" string(1) "u" -- Iteration 14 -- string(10) "2147483647" string(1) "u" string(10) "2147483647" string(1) "u" string(11) " 2147483647" string(11) "2147483647 " string(11) " 2147483647" string(11) " 2147483647" string(10) "2147483647" string(30) " 2147483647" string(4) "0-9]" string(1) "u" -- Iteration 15 -- string(2) "83" string(1) "u" string(2) "83" string(1) "u" string(3) " 83" string(3) "83 " string(3) " 83" string(3) " 83" string(4) " 83" string(30) " 83" string(4) "0-9]" string(1) "u" -- Iteration 16 -- string(1) "1" string(1) "u" string(1) "1" string(1) "u" string(2) " 1" string(2) "1 " string(2) " 1" string(2) " 1" string(4) " 1" string(30) " 1" string(4) "0-9]" string(1) "u" -- Iteration 17 -- string(20) "18446744071562067968" string(1) "u" string(20) "18446744071562067968" string(1) "u" string(21) " 18446744071562067968" string(21) "18446744071562067968 " string(21) " 18446744071562067968" string(21) " 18446744071562067968" string(20) "18446744071562067968" string(30) " 18446744071562067968" string(4) "0-9]" string(1) "u" -- Iteration 18 -- string(10) "2147483647" string(1) "u" string(10) "2147483647" string(1) "u" string(11) " 2147483647" string(11) "2147483647 " string(11) " 2147483647" string(11) " 2147483647" string(10) "2147483647" string(30) " 2147483647" string(4) "0-9]" string(1) "u" Done