# XXX # For this test, only one string or 32-bit integer are supported as # conversion specifiers at the moment. include start input "testing 1 2 3\n" call2 OK "testing" mvscanw 3 5 "%s" input "testing 1 2 3\n" call2 OK "test" mvscanw 3 5 "%4s" input "50 12\n" call2 OK "50" mvscanw 3 5 "%d" input "aa bb 50 12\n" # expect ERR because input has alpha and scanw wants integer call2 ERR "ERR" mvscanw 3 5 "%d"