summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-11-16 15:41:16 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-11-16 18:36:29 +0000
commit6d4815d3a4921219379bc9ec3cceead217668426 (patch)
tree7d351cde46d31fc8b9bbeb27c0c8cbdeddce7c6e /tools
parent2bfeaeaa308adf27853c1ec6d1d958a3e4734b8e (diff)
downloadlibguestfs-6d4815d3a4921219379bc9ec3cceead217668426.tar.gz
libguestfs-6d4815d3a4921219379bc9ec3cceead217668426.tar.xz
libguestfs-6d4815d3a4921219379bc9ec3cceead217668426.zip
images: Make a better phony Fedora image.
This now includes a product string, major and minor version, hostname and even some applications.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test-virt-ls.sh3
-rwxr-xr-xtools/test-virt-tar.sh1
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/test-virt-ls.sh b/tools/test-virt-ls.sh
index c8330d2e..a0c9fc53 100755
--- a/tools/test-virt-ls.sh
+++ b/tools/test-virt-ls.sh
@@ -7,7 +7,8 @@ set -e
uuid=868b1447-0ec5-41bf-a2e5-6a77a4c9b66f
# Read out the test directory using virt-ls.
-if [ "$(./virt-ls ../images/fedora.img /bin)" != "test1
+if [ "$(./virt-ls ../images/fedora.img /bin)" != "ls
+test1
test2
test3
test4
diff --git a/tools/test-virt-tar.sh b/tools/test-virt-tar.sh
index 40cee90b..2239c138 100755
--- a/tools/test-virt-tar.sh
+++ b/tools/test-virt-tar.sh
@@ -7,6 +7,7 @@ set -e
./virt-tar -x ../images/fedora.img /bin test.tar
if [ "$(tar tf test.tar)" != "./
+./ls
./test1
./test2
./test3