diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-29 18:10:48 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-29 18:10:48 +0100 |
commit | 9847e0c07d5907887e26ec60192fa12aa46277ee (patch) | |
tree | 13dbb82b11385e99f85fd8aa003bc885af169557 /images | |
parent | a3944a2b30daf2fb0239433ea8a862df16d36b6a (diff) | |
download | libguestfs-9847e0c07d5907887e26ec60192fa12aa46277ee.tar.gz libguestfs-9847e0c07d5907887e26ec60192fa12aa46277ee.tar.xz libguestfs-9847e0c07d5907887e26ec60192fa12aa46277ee.zip |
Implement '*grep*' family of commands.
Diffstat (limited to 'images')
-rw-r--r-- | images/Makefile.am | 15 | ||||
-rw-r--r-- | images/test-grep.txt | 7 |
2 files changed, 18 insertions, 4 deletions
diff --git a/images/Makefile.am b/images/Makefile.am index d4aed552..b6b7f72a 100644 --- a/images/Makefile.am +++ b/images/Makefile.am @@ -32,8 +32,8 @@ EXTRA_DIST = \ lib-sparc.so \ lib-win32.dll \ lib-win64.dll \ - lib-x86_64.so - + lib-x86_64.so \ + test-grep.txt noinst_DATA = test.sqsh @@ -58,7 +58,8 @@ squash_files_src = \ $(srcdir)/lib-sparc.so \ $(srcdir)/lib-win32.dll \ $(srcdir)/lib-win64.dll \ - $(srcdir)/lib-x86_64.so + $(srcdir)/lib-x86_64.so \ + $(srcdir)/test-grep.txt squash_files_build = \ $(builddir)/100kallzeroes \ @@ -68,7 +69,8 @@ squash_files_build = \ $(builddir)/10klines \ $(builddir)/initrd \ $(builddir)/initrd-x86_64.img \ - $(builddir)/initrd-x86_64.img.gz + $(builddir)/initrd-x86_64.img.gz \ + $(builddir)/test-grep.txt.gz squash_files = $(squash_files_src) $(squash_files_build) @@ -124,3 +126,8 @@ $(builddir)/initrd-x86_64.img.gz: initrd-x86_64.img rm -f $@ $@-t gzip --best -c $< > $@-t mv $@-t $@ + +$(builddir)/test-grep.txt.gz: test-grep.txt + rm -f $@ $@-t + gzip --best -c $< > $@-t + mv $@-t $@ diff --git a/images/test-grep.txt b/images/test-grep.txt new file mode 100644 index 00000000..1d24b9a0 --- /dev/null +++ b/images/test-grep.txt @@ -0,0 +1,7 @@ +abc +def +ghi +ghi + +abc123 +ABC |