diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/qemu-iotests/check | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check index fff5fa956a..1789ada52e 100755 --- a/tests/qemu-iotests/check +++ b/tests/qemu-iotests/check @@ -846,7 +846,8 @@ do start=$(_wallclock) - if [ "$(head -n 1 "$source_iotests/$seq")" == "#!/usr/bin/env python" ]; then + if [ "$(head -n 1 "$source_iotests/$seq" | sed 's/3$//')" \ + == "#!/usr/bin/env python" ]; then if $python_usable; then run_command="$PYTHON $seq" else |