regressions: Test just-built guestfish.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 22 Sep 2010 16:43:34 +0000 (17:43 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 22 Sep 2010 16:43:34 +0000 (17:43 +0100)
Instead of testing the installed /usr/bin/guestfish.

This fixes commit ddda0f7bd00a37274dae38f4ce93955b8cfdf7d7.

regressions/test-guestfish-a.sh
regressions/test-guestfish-d.sh

index 8e990ed..8847b85 100755 (executable)
@@ -23,6 +23,6 @@ set -e
 rm -f test.img
 
 truncate -s 10M test.img
-guestfish -a test.img </dev/null
+../fish/guestfish -a test.img </dev/null
 
 rm -f test.img
index b97ad3d..bf5d514 100755 (executable)
@@ -46,7 +46,8 @@ cat > test.xml <<EOF
 </node>
 EOF
 
-guestfish -c "test://$cwd/test.xml" --ro -d guest -x </dev/null >test.out 2>&1
+../fish/guestfish -c "test://$cwd/test.xml" --ro -d guest -x \
+  </dev/null >test.out 2>&1
 grep -sq '^add_drive_ro.*test.img' test.out
 
 rm -f test.img test.xml test.out