Explorar o código

Add ifdef to test, for configurations without caching

bel %!s(int64=9) %!d(string=hai) anos
pai
achega
1412ac54a3
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      test/public_server.c

+ 2 - 2
test/public_server.c

@@ -2045,14 +2045,14 @@ START_TEST(test_http_auth)
 {
 #if !defined(NO_FILES)
 	const char *OPTIONS[] = {
-#if !defined(NO_FILES)
 		"document_root",
 		".",
-#endif
 		"listening_ports",
 		"8080",
+#if !defined(NO_CACHING)
 		"static_file_max_age",
 		"0",
+#endif
 		NULL,
 	};
 	struct mg_context *ctx;