We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 491ebc2 commit 963010dCopy full SHA for 963010d
1 file changed
tests/testthat/test_Appender.R
@@ -555,6 +555,6 @@ test_that("AppenderSyslog: logging to syslog works", {
555
lg$add_appender(AppenderSyslog$new(), "syslog")
556
lg$info("A test message %s", msg)
557
558
- log = system2("journalctl", "-t 'rsyslog/test'", stdout = TRUE)
+ log = system("cat /var/log/syslog | grep rsyslog/test", intern = TRUE)
559
expect_true(any(grepl(msg, log), fixed = TRUE))
560
})
0 commit comments