git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generate a dummy 'Fedora' fedora.img in images directory for use by tests.
[libguestfs.git]
/
tools
/
test-virt-cat.sh
diff --git
a/tools/test-virt-cat.sh
b/tools/test-virt-cat.sh
index
d87c4b8
..
19b8d87
100755
(executable)
--- a/
tools/test-virt-cat.sh
+++ b/
tools/test-virt-cat.sh
@@
-4,11
+4,11
@@
export LANG=C
set -e
# Read out the test files from the image using virt-cat.
set -e
# Read out the test files from the image using virt-cat.
-if [ "$(./virt-cat
test
.img /etc/test1)" != "abcdefg" ]; then
+if [ "$(./virt-cat
../images/fedora
.img /etc/test1)" != "abcdefg" ]; then
echo "$0: error: mismatch in file test1"
exit 1
fi
echo "$0: error: mismatch in file test1"
exit 1
fi
-if [ "$(./virt-cat
test
.img /etc/test2)" != "" ]; then
+if [ "$(./virt-cat
../images/fedora
.img /etc/test2)" != "" ]; then
echo "$0: error: mismatch in file test2"
exit 1
fi
echo "$0: error: mismatch in file test2"
exit 1
fi