summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-29 12:59:32 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-29 12:59:32 +0100
commite02066bcb33a2aed5f23dd18c3168dc66efddb18 (patch)
tree266768938ae6c482890aa4061e1b10ee8e391ef7 /images
parent75d260b6968309159f3335588f0e3f773d32a663 (diff)
downloadlibguestfs-e02066bcb33a2aed5f23dd18c3168dc66efddb18.tar.gz
libguestfs-e02066bcb33a2aed5f23dd18c3168dc66efddb18.tar.xz
libguestfs-e02066bcb33a2aed5f23dd18c3168dc66efddb18.zip
Use a squashfs attached as /dev/sdd during the C API tests.
Diffstat (limited to 'images')
-rw-r--r--images/Makefile.am13
-rw-r--r--images/empty0
-rw-r--r--images/known-11
-rw-r--r--images/known-21
-rw-r--r--images/known-327
5 files changed, 41 insertions, 1 deletions
diff --git a/images/Makefile.am b/images/Makefile.am
index 68111071..dcdf51f8 100644
--- a/images/Makefile.am
+++ b/images/Makefile.am
@@ -18,4 +18,15 @@
EXTRA_DIST = \
helloworld.tar \
helloworld.tar.gz \
- mbr-ext2-empty.img.gz
+ mbr-ext2-empty.img.gz \
+ empty known-1 known-2 known-3
+
+noinst_DATA = test.sqsh
+
+CLEANFILES = test.sqsh
+
+squash_files = helloworld.tar helloworld.tar.gz empty known-1 known-2 known-3
+
+test.sqsh: $(squash_files)
+ rm -f $@
+ $(MKSQUASHFS) $(squash_files) $@
diff --git a/images/empty b/images/empty
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/images/empty
diff --git a/images/known-1 b/images/known-1
new file mode 100644
index 00000000..8baef1b4
--- /dev/null
+++ b/images/known-1
@@ -0,0 +1 @@
+abc
diff --git a/images/known-2 b/images/known-2
new file mode 100644
index 00000000..0373d933
--- /dev/null
+++ b/images/known-2
@@ -0,0 +1 @@
+abcdef
diff --git a/images/known-3 b/images/known-3
new file mode 100644
index 00000000..3ac370d7
--- /dev/null
+++ b/images/known-3
@@ -0,0 +1,27 @@
+ I WANDERED lonely as a cloud
+ That floats on high o'er vales and hills,
+ When all at once I saw a crowd,
+ A host, of golden daffodils;
+ Beside the lake, beneath the trees,
+ Fluttering and dancing in the breeze.
+
+ Continuous as the stars that shine
+ And twinkle on the milky way,
+ They stretched in never-ending line
+ Along the margin of a bay:
+ Ten thousand saw I at a glance,
+ Tossing their heads in sprightly dance.
+
+ The waves beside them danced; but they
+ Out-did the sparkling waves in glee:
+ A poet could not but be gay,
+ In such a jocund company:
+ I gazed--and gazed--but little thought
+ What wealth the show to me had brought:
+
+ For oft, when on my couch I lie
+ In vacant or in pensive mood,
+ They flash upon that inward eye
+ Which is the bliss of solitude;
+ And then my heart with pleasure fills,
+ And dances with the daffodils.