Put critical logs in the main buffer in the tests 02/245402/2
authorMateusz Majewski <m.majewski2@samsung.com>
Thu, 8 Oct 2020 07:33:58 +0000 (09:33 +0200)
committerMateusz Majewski <m.majewski2@samsung.com>
Thu, 8 Oct 2020 12:05:20 +0000 (14:05 +0200)
Otherwise, the logger verbose tests emit an error.

Change-Id: Id5cdd781c3b4fa42da736fe2207837528416eec9

tests/dlog_test.in

index 689ff16..19cea83 100644 (file)
@@ -312,7 +312,7 @@ if [ "$TEST_DYNAMIC_FILTERS" = "true" ]; then
 fi
 
 SEED=$(head -c 6 /dev/urandom | base64)
-dlogsend -k "$SEED"
+dlogsend -b main -k "$SEED"
 # -k is async, unlike normal mode; therefore we have to wait until the logging process actually finishes.
 while pgrep "dlogsend" > /dev/null || pgrep "dlog-log-critical" > /dev/null; do :; done
 CRIT_PATH="@DLOG_CRITICAL_LOGFILE_PATH@"