Change-Id: If70b4d29efd36df435f0e91fffdc0cef17da2a08
rm $RUNTIME_FILTERS_DIR/10-other.conf
fi
+SEED=$(head -c 6 /dev/urandom | base64)
+dlogsend -k "$SEED"
+# -k is async, unlike normal mode; therefore we have to wait until the logging process actually finishes
+while ps -o args | grep "dlogsend" | grep -v grep &> /dev/null || ps -o args | grep "dlog-log-critical" | grep -v grep &> /dev/null; do :; done
+CRIT_PATH="@DLOG_CRITICAL_LOGFILE_PATH@"
+LOG_DETAILS="testing if critical logging works"
+cat "$CRIT_PATH".{a,b} | grep -F "$SEED" &> /dev/null && ok || fail
+
# put 100 log entries in the "main" buffer
dlogutil -c
test_libdlog 100