Re: [Qemu-devel] [PATCH] iotests: Test prefix for supported_oses in Python

2015-01-22 Thread Max Reitz
On 2015-01-22 at 11:52, Max Reitz wrote: sys.platform may be set to "linux2" instead of just "linux" (in theory, it could even be set to "linux3" or something else). The Python documentation on sys.platform recommends testing the prefix of the platform against "linux", so we should do that. Sign

[Qemu-devel] [PATCH] iotests: Test prefix for supported_oses in Python

2015-01-22 Thread Max Reitz
sys.platform may be set to "linux2" instead of just "linux" (in theory, it could even be set to "linux3" or something else). The Python documentation on sys.platform recommends testing the prefix of the platform against "linux", so we should do that. Signed-off-by: Max Reitz --- tests/qemu-iotes