X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=regressions%2Ftest-qemudie-midcommand.sh;h=47cad04c4500042076d55509864badd5903da40a;hp=92a4c6889fea2dc32ce6d5c65673306887c47f01;hb=61da709722ec244da1c3c7d4f1a8706f76687cb3;hpb=4f4880303693bc2e55ce431e87302098654b7f03 diff --git a/regressions/test-qemudie-midcommand.sh b/regressions/test-qemudie-midcommand.sh index 92a4c68..47cad04 100755 --- a/regressions/test-qemudie-midcommand.sh +++ b/regressions/test-qemudie-midcommand.sh @@ -20,17 +20,13 @@ set -e -rm -f test.pid test.img - -../fish/guestfish <<'EOF' -alloc test.img 10M -run +rm -f test.pid test1.img +../fish/guestfish -N disk <<'EOF' # Kill the subprocess after a short wait. pid | cat > test.pid ! sleep 2 ; kill $(cat test.pid) & -echo "Expect: 'guestfs_sleep reply failed, see earlier error messages'" -sleep 1000 # We should now be able to rerun the subprocess. @@ -38,4 +34,4 @@ run ping-daemon EOF -rm -f test.pid test.img +rm -f test.pid test1.img