summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-07 00:13:05 +0100
committerRichard Jones <rjones@redhat.com>2010-05-07 15:27:28 +0100
commit26991ebb8181b57f4c8454f2862c938d7c5d012d (patch)
tree0a6c069d6b0546b83569bc16295db33df2a1ddc4 /src
parentdeee8e2b4e377dc2eb23fc551a4d0711ac49b585 (diff)
downloadlibguestfs-26991ebb8181b57f4c8454f2862c938d7c5d012d.tar.gz
libguestfs-26991ebb8181b57f4c8454f2862c938d7c5d012d.tar.xz
libguestfs-26991ebb8181b57f4c8454f2862c938d7c5d012d.zip
daemon: Fix strings to work on absolute symbolic links (RHBZ#579608).
Diffstat (limited to 'src')
-rwxr-xr-xsrc/generator.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index d23a8ae3..a5a7ddcd 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -2446,7 +2446,10 @@ The external L<cmp(1)> program is used for the comparison.");
[InitISOFS, Always, TestOutputList (
[["strings"; "/known-5"]], ["abcdefghi"; "jklmnopqr"]);
InitISOFS, Always, TestOutputList (
- [["strings"; "/empty"]], [])],
+ [["strings"; "/empty"]], []);
+ (* Test for RHBZ#579608, absolute symbolic links. *)
+ InitISOFS, Always, TestRun (
+ [["strings"; "/abssymlink"]])],
"print the printable strings in a file",
"\
This runs the L<strings(1)> command on a file and returns