Преглед на файлове

Add ifdef to test, for configurations without caching

bel преди 9 години
родител
ревизия
1412ac54a3
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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;