test_linux: Add helper function for testing arch ioctl values.
test_linux: Add helper function for testing arch ioctl values.

To make it easier to add tests for multiple architectures, add
a helper function for testing with a given architecture.

olavmrk/python-ioctl,olavmrk/python-ioctl