From bf6c7ba404bcef553af575f8f0776c3c51ae53f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?agentzh=20=28=E7=AB=A0=E4=BA=A6=E6=98=A5=29?= Date: Mon, 7 Mar 2011 01:00:50 +0800 Subject: [PATCH] added a test for --with-debug. --- t/sanity.t | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/t/sanity.t b/t/sanity.t index ed42e11..660c6b7 100644 --- a/t/sanity.t +++ b/t/sanity.t @@ -181,7 +181,19 @@ cd nginx-0.8.54 -=== TEST 3: --with-http_ssl_module & --without-http_ssl_module +=== TEST 3: --with-debug +--- cmd: ./configure --with-debug --dry-run +--- exit: 0 +--- err +--- out +cp -r bundle/ build/ +cd build +cd nginx-0.8.54 +./configure --prefix=/usr/local/openresty/nginx --with-ld-opt='-Wl,-rpath=/usr/local/openresty/nginx/lib' --with-cc-opt='-O0' --with-debug + + + +=== TEST 4: --with-http_ssl_module & --without-http_ssl_module --- cmd: ./configure --with-http_ssl_module --without-http_ssl_module --- exit: 255 --- err