]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephtool/test.sh: test 'log last [n]' 15497/head
authorSage Weil <sage@redhat.com>
Tue, 6 Jun 2017 18:52:26 +0000 (14:52 -0400)
committerSage Weil <sage@redhat.com>
Tue, 6 Jun 2017 18:52:26 +0000 (14:52 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephtool/test.sh

index aa9d61d5e014d83c1f34d1a15435eb68d2f947d3..7b47ba5cbaf8a0e033827fbcb42f62c5a6684edd 100755 (executable)
@@ -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