Skip to content

Commit a66516f

Browse files
committed
Mock server: add enable_configure_delay command
1 parent 6e7f4c0 commit a66516f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/mock-server/overrides.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,5 +475,10 @@ void init()
475475
const char* handle_command(const char* command)
476476
{
477477
fprintf(stderr, "got command: %s\n", command);
478-
FATAL_FMT("unkown command: %s", command);
478+
if (strcmp(command, "enable_configure_delay") == 0) {
479+
configure_delay_enabled = 1;
480+
return "configure_delay_enabled";
481+
} else {
482+
FATAL_FMT("unkown command: %s", command);
483+
}
479484
}

0 commit comments

Comments
 (0)