]> git.ipfire.org Git - thirdparty/git.git/commitdiff
test libs: rename gitweb-lib.sh to lib-gitweb.sh
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 9 Feb 2021 21:41:53 +0000 (22:41 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2021 21:54:34 +0000 (13:54 -0800)
Rename gitweb-lib.sh to lib-gitweb.sh for consistency with other test
library files.

When it was introduced in 05526071cb5 (gitweb: split test suite into
library and tests, 2009-08-27) this naming pattern was more
common.

Since then all but one other such library which didn't start with
"lib-*.sh" such as t6000lib.sh has been been renamed, see
e.g. 9d488eb40e2 (Move t6000lib.sh to lib-*, 2010-05-07).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-gitweb.sh [moved from t/gitweb-lib.sh with 100% similarity]
t/t9500-gitweb-standalone-no-errors.sh
t/t9501-gitweb-standalone-http-status.sh
t/t9502-gitweb-standalone-parse-output.sh

similarity index 100%
rename from t/gitweb-lib.sh
rename to t/lib-gitweb.sh
index ee8c6e30e67f5b969bd32889f3f57a1e11771e90..0333065d4d60a0113cb5ac1de391a4a997d2eaa8 100755 (executable)
@@ -13,7 +13,7 @@ or warnings to log.'
 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
-. ./gitweb-lib.sh
+. ./lib-gitweb.sh
 
 # ----------------------------------------------------------------------
 # no commits (empty, just initialized repository)
index 141610de5464882eb660133d80ceb65df7323b17..32814e75df5b0d796b292c2ac39d370c636e5e67 100755 (executable)
@@ -13,7 +13,7 @@ code and message.'
 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
-. ./gitweb-lib.sh
+. ./lib-gitweb.sh
 
 #
 # Gitweb only provides the functionality tested by the 'modification times'
index 9cf7ab30a8d8f824088a02ddd646fb7a6a881378..3167473b3031c66555883745d296a881593b8272 100755 (executable)
@@ -13,7 +13,7 @@ in the HTTP header or the actual script output.'
 GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
 export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
 
-. ./gitweb-lib.sh
+. ./lib-gitweb.sh
 
 # ----------------------------------------------------------------------
 # snapshot file name and prefix