summaryrefslogtreecommitdiffstats
path: root/fish/test-add-domain.sh
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-12 15:09:15 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-12 15:09:15 +0000
commit1f603bfd6d7cd17e88f737a496b7e5ee053750c2 (patch)
treed9d93107f51f5b913349af85dff39402c063d3cf /fish/test-add-domain.sh
parent2c8ead5aa0e6b821bf2d21a89e437e9a6c0ed1ca (diff)
downloadlibguestfs-1f603bfd6d7cd17e88f737a496b7e5ee053750c2.tar.gz
libguestfs-1f603bfd6d7cd17e88f737a496b7e5ee053750c2.tar.xz
libguestfs-1f603bfd6d7cd17e88f737a496b7e5ee053750c2.zip
fish: Rename tests and make test paths relative.
When these tests were originally in the old regressions/ directory, they used to refer to guestfish via the path '../fish/guestfish'. Some of the tests were also called 'test-guestfish-*'. Now that the tests have been moved into the fish/ directory, neither of these things make sense. So change the relative path to './guestfish' and rename all 'test-guestfish-*' as 'test-*'.
Diffstat (limited to 'fish/test-add-domain.sh')
-rwxr-xr-xfish/test-add-domain.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/fish/test-add-domain.sh b/fish/test-add-domain.sh
index 6154a758..85937088 100755
--- a/fish/test-add-domain.sh
+++ b/fish/test-add-domain.sh
@@ -62,7 +62,7 @@ cat > test.xml <<EOF
</node>
EOF
-../fish/guestfish >test.out <<EOF
+./guestfish >test.out <<EOF
domain guest libvirturi:test://$cwd/test.xml readonly:true
debug-drives
EOF
@@ -72,7 +72,7 @@ grep -sq "test2.img.*snapshot=on.*format=raw" test.out
grep -sq "test3.img.*snapshot=on.*format=qcow2" test.out
# Test readonlydisk = "ignore".
-../fish/guestfish >test.out <<EOF
+./guestfish >test.out <<EOF
-domain guest libvirturi:test://$cwd/test.xml readonly:true readonlydisk:ignore
debug-drives
EOF
@@ -84,7 +84,7 @@ grep -sq "test3.img" test.out
# Test atomicity.
rm test3.img
-../fish/guestfish >test.out <<EOF
+./guestfish >test.out <<EOF
-domain guest libvirturi:test://$cwd/test.xml readonly:true
debug-drives
EOF