Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9409710

Browse files
author
Felipe Zimmerle
committed
test: nginx: Adds missing environment variables.
Added the following environment variables: - DATA_DIR - TEMP_DIR - UPLOAD_DIRThese were needed by the testing framework, as the name explains.
1 parent6c106b1 commit9409710

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎tests/run-regression-tests-nginx.pl‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
my$NGINX_DIR ="$REG_DIR/nginx";
3333
my$NGINX_CONF_TEMP ="$REG_DIR/nginx/conf/nginx.conf.template";
3434
my$NGINX =q(/usr/local/nginx/sbin/nginx);
35+
my$SROOT_DIR ="$REG_DIR/server_root";
36+
my$TEMP_DIR ="$SROOT_DIR/tmp";
37+
my$DATA_DIR ="$SROOT_DIR/data";
38+
my$UPLOAD_DIR ="$SROOT_DIR/upload";
3539

3640
my$PASSED = 0;
3741
my$TOTAL = 0;
@@ -120,9 +124,9 @@ sub usage {
120124
SERVER_PORT=>$opt{p},
121125
SERVER_NAME=>"localhost",
122126
# TEST_NGX_PREFIX => $NGINX_DIR,
123-
#DATA_DIR => $DATA_DIR,
124-
#TEMP_DIR => $TEMP_DIR,
125-
#UPLOAD_DIR => $UPLOAD_DIR,
127+
DATA_DIR=>$DATA_DIR,
128+
TEMP_DIR=>$TEMP_DIR,
129+
UPLOAD_DIR=>$UPLOAD_DIR,
126130
CONF_DIR=>$CONF_DIR,
127131
# MODULES_DIR => $MODULES_DIR,
128132
LOGS_DIR=>$FILES_DIR,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp