From 189b17b784512ccc6630e55a63b63f6e9fecd1d0 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 6 Jun 2017 14:52:26 -0400 Subject: [PATCH] qa/workunits/cephtool/test.sh: test 'log last [n]' Signed-off-by: Sage Weil --- qa/workunits/cephtool/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index aa9d61d5e01..7b47ba5cbaf 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -722,6 +722,8 @@ function test_mon_misc() ceph_watch_start mymsg="this is a test log message $$.$(date)" ceph log "$mymsg" + ceph log last | grep "$mymsg" + ceph log last 100 | grep "$mymsg" ceph_watch_wait "$mymsg" ceph mgr dump -- 2.39.5