瀏覽代碼

Unit test: bad listening port may also cause other error messages

bel2125 7 年之前
父節點
當前提交
f5a3fceb8a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/public_server.c

+ 1 - 1
test/public_server.c

@@ -3779,7 +3779,7 @@ START_TEST(test_error_log_file)
 
 	/* Start server with bad options */
 	ck_assert_str_eq(OPTIONS[0], "listening_ports");
-	OPTIONS[1] = "bad port syntax";
+	OPTIONS[1] = "bad !"; /* no r or s in string */
 
 	ctx = test_mg_start(NULL, 0, OPTIONS);
 	ck_assert_msg(