getopt(3) returns an int so don't use a char to store its return value.Makes the test work on architectures where char is unsigned.ok deraadt@, millert@
New regression tests for character and string conversionsand for their modifiers, written from scratch.