* Triggers can run modules which pop, and then the stack is empty.
*/
if (unlikely(stack->depth == 0)) {
- fr_assert(top_frame);
break;
}
test {
}
+
+linelog log_stdout {
+ destination = stdout
+}
test_fail
}
+if !%test_trigger('test_log') {
+ test_fail
+}
+
+if !%test_trigger('server.start') {
+ test_fail
+}
+
test_pass
trigger {
test = `/bin/echo hello`
+
+
+ test_log = %log_stdout('hello')
+
+ server {
+ start = %log_stdout('server start')
+ }
}