From: Richard W.M. Jones Date: Wed, 22 Sep 2010 16:43:34 +0000 (+0100) Subject: regressions: Test just-built guestfish. X-Git-Tag: 1.5.19~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=df69543720de5bf7dd1a734c3bef6d191ceeab33;p=libguestfs.git regressions: Test just-built guestfish. Instead of testing the installed /usr/bin/guestfish. This fixes commit ddda0f7bd00a37274dae38f4ce93955b8cfdf7d7. --- diff --git a/regressions/test-guestfish-a.sh b/regressions/test-guestfish-a.sh index 8e990ed..8847b85 100755 --- a/regressions/test-guestfish-a.sh +++ b/regressions/test-guestfish-a.sh @@ -23,6 +23,6 @@ set -e rm -f test.img truncate -s 10M test.img -guestfish -a test.img test.xml < EOF -guestfish -c "test://$cwd/test.xml" --ro -d guest -x test.out 2>&1 +../fish/guestfish -c "test://$cwd/test.xml" --ro -d guest -x \ + test.out 2>&1 grep -sq '^add_drive_ro.*test.img' test.out rm -f test.img test.xml test.out