@@ -124,7 +124,7 @@ qr/greeting=enjoy-http-c-function-testing$/
124124
125125=== TEST 8: Set C_FUNC_TEST_CACHE
126126--- config
127- ngx_http_c_func_link_lib "/home/taymindis/github/nginx-c-function/t /libcfuntest.so";
127+ ngx_http_c_func_link_lib "NGINX_HTTP_C_FUNCTION_TEST_LIB_PATH /libcfuntest.so";
128128location = /testCFunGetCache {
129129 ngx_http_c_func_call "my_app_simple_get_cache";
130130}
@@ -153,7 +153,7 @@ foo: foovalue
153153
154154=== TEST 10: Authentication with nginx c function header
155155--- config
156- ngx_http_c_func_link_lib "/home/taymindis/github/nginx-c-function/t /libcfuntest.so";
156+ ngx_http_c_func_link_lib "NGINX_HTTP_C_FUNCTION_TEST_LIB_PATH /libcfuntest.so";
157157location /backend {
158158 return 200 "Welcome ${arg_userName}";
159159}
@@ -177,7 +177,7 @@ qr/Welcome foo$/
177177
178178=== TEST 11: Authentication with nginx c function header
179179--- config
180- ngx_http_c_func_link_lib "/home/taymindis/github/nginx-c-function/t /libcfuntest.so";
180+ ngx_http_c_func_link_lib "NGINX_HTTP_C_FUNCTION_TEST_LIB_PATH /libcfuntest.so";
181181location /backend {
182182 return 200 "Welcome ${arg_userName}";
183183}
@@ -326,7 +326,7 @@ qr/greeting=enjoy-http-c-function-testing$/
326326--- main_config eval: $::main_conf
327327--- config
328328aio threads=my_thread_pool;
329- ngx_http_c_func_link_lib "/home/taymindis/github/nginx-c-function/t /libcfuntest.so";
329+ ngx_http_c_func_link_lib "NGINX_HTTP_C_FUNCTION_TEST_LIB_PATH /libcfuntest.so";
330330location = /testCFunGetCache {
331331 ngx_http_c_func_call "my_app_simple_get_cache";
332332}
@@ -359,7 +359,7 @@ foo: foovalue
359359--- main_config eval: $::main_conf
360360--- config
361361aio threads=my_thread_pool;
362- ngx_http_c_func_link_lib "/home/taymindis/github/nginx-c-function/t /libcfuntest.so";
362+ ngx_http_c_func_link_lib "NGINX_HTTP_C_FUNCTION_TEST_LIB_PATH /libcfuntest.so";
363363location /backend {
364364 return 200 "Welcome ${arg_userName}";
365365}
@@ -385,7 +385,7 @@ qr/Welcome foo$/
385385--- main_config eval: $::main_conf
386386--- config
387387aio threads=my_thread_pool;
388- ngx_http_c_func_link_lib "/home/taymindis/github/nginx-c-function/t /libcfuntest.so";
388+ ngx_http_c_func_link_lib "NGINX_HTTP_C_FUNCTION_TEST_LIB_PATH /libcfuntest.so";
389389location /backend {
390390 return 200 "Welcome ${arg_userName}";
391391}
0 commit comments