]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/qemu-iotests/117
iotests: Use qemu-nbd's --pid-file
[mirror_qemu.git] / tests / qemu-iotests / 117
index e955d52de31eeb3b92fe99b05f3982cb6372d087..f37b34f8b1e609fa8a664d50c2755d0b6a6447d9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Test case for shared BDS between backend trees
 #
@@ -24,11 +24,11 @@ owner=mreitz@redhat.com
 seq="$(basename $0)"
 echo "QA output created by $seq"
 
-here="$PWD"
 status=1       # failure is the default!
 
 _cleanup()
 {
+    _cleanup_qemu
        _cleanup_test_img
 }
 trap "_cleanup; exit \$status" 0 1 2 3 15
@@ -40,7 +40,6 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 
 _supported_fmt qcow2
 _supported_proto file
-_supported_os Linux
 
 _make_test_img 64k