summaryrefslogtreecommitdiffstats
path: root/fish/test-stringlist.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-stringlist.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-stringlist.sh')
-rwxr-xr-xfish/test-stringlist.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/fish/test-stringlist.sh b/fish/test-stringlist.sh
index 1aa953bc..5928a810 100755
--- a/fish/test-stringlist.sh
+++ b/fish/test-stringlist.sh
@@ -22,7 +22,7 @@ set -e
rm -f test.img
-eval `../fish/guestfish --listen`
+eval `./guestfish --listen`
error=0
@@ -32,15 +32,15 @@ function check_echo {
local echo
- echo=$(../fish/guestfish --remote echo_daemon "$test")
+ echo=$(./guestfish --remote echo_daemon "$test")
if [ "$echo" != "$expected" ]; then
echo "Expected \"$expected\", got \"$echo\""
error=1
fi
}
-../fish/guestfish --remote alloc test.img 10M
-../fish/guestfish --remote run
+./guestfish --remote alloc test.img 10M
+./guestfish --remote run
check_echo "' '" " "
check_echo "\'" "'"
@@ -53,7 +53,7 @@ check_echo "'foo' 'bar'" "foo bar"
check_echo "'foo' " "foo"
check_echo " 'foo'" "foo"
-../fish/guestfish --remote exit
+./guestfish --remote exit
rm -f test.img