test-lib: tests skipped by GIT_SKIP_TESTS say so
[gitweb.git] / t / lib-httpd.sh
index f9c2e22e6d5194f11f119e370ada77921df4106b..252cbf163bcff90aabe39a48219e00565f577ffe 100644 (file)
@@ -65,7 +65,7 @@ case $(uname) in
 esac
 
 LIB_HTTPD_PATH=${LIB_HTTPD_PATH-"$DEFAULT_HTTPD_PATH"}
-LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'8111'}
+LIB_HTTPD_PORT=${LIB_HTTPD_PORT-${this_test#t}}
 
 TEST_PATH="$TEST_DIRECTORY"/lib-httpd
 HTTPD_ROOT_PATH="$PWD"/httpd