]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
ceph: fix valgrind error check
authorSage Weil <sage@inktank.com>
Mon, 2 Jul 2012 15:44:38 +0000 (08:44 -0700)
committerSage Weil <sage@inktank.com>
Mon, 2 Jul 2012 15:44:38 +0000 (08:44 -0700)
grep all the logs, not the dir... doh!

teuthology/task/ceph.py

index 2d9c755801210a0644ba16944ed85b2e953eb6d6..314a3268abefd6246409faf2200edfa3b011a138 100644 (file)
@@ -286,7 +286,7 @@ def valgrind_post(ctx, config):
             #look at valgrind logs for each node
             proc = remote.run(
                 args=[
-                    'grep', "<kind>", run.Raw(val_path), run.Raw('|'),
+                    'grep', '-r', "<kind>", run.Raw(val_path), run.Raw('|'),
                     'egrep', '-v', '-q', '(PossiblyLost|DefinitelyLost)'],
                 wait = False,
                 check_status=False