@@ -124,7 +124,7 @@ qr/greeting=enjoy-http-c-function-testing$/
124
124
125
125
=== TEST 8: Set C_FUNC_TEST_CACHE
126
126
--- 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";
128
128
location = /testCFunGetCache {
129
129
ngx_http_c_func_call "my_app_simple_get_cache";
130
130
}
@@ -153,7 +153,7 @@ foo: foovalue
153
153
154
154
=== TEST 10: Authentication with nginx c function header
155
155
--- 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";
157
157
location /backend {
158
158
return 200 "Welcome ${arg_userName}";
159
159
}
@@ -177,7 +177,7 @@ qr/Welcome foo$/
177
177
178
178
=== TEST 11: Authentication with nginx c function header
179
179
--- 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";
181
181
location /backend {
182
182
return 200 "Welcome ${arg_userName}";
183
183
}
@@ -326,7 +326,7 @@ qr/greeting=enjoy-http-c-function-testing$/
326
326
--- main_config eval: $::main_conf
327
327
--- config
328
328
aio 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";
330
330
location = /testCFunGetCache {
331
331
ngx_http_c_func_call "my_app_simple_get_cache";
332
332
}
@@ -359,7 +359,7 @@ foo: foovalue
359
359
--- main_config eval: $::main_conf
360
360
--- config
361
361
aio 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";
363
363
location /backend {
364
364
return 200 "Welcome ${arg_userName}";
365
365
}
@@ -385,7 +385,7 @@ qr/Welcome foo$/
385
385
--- main_config eval: $::main_conf
386
386
--- config
387
387
aio 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";
389
389
location /backend {
390
390
return 200 "Welcome ${arg_userName}";
391
391
}
0 commit comments