[PATCH] Change the extension of TAP test suites to .t
This is the common convention for TAP, and makes harnesses like prove automatically detect them. Plus, test suites don’t have to be shell scripts anymore. --- test/Makefile | 2 +- test/{t1100-git-auth.sh => t1100-git-auth.t} | 0 test/{t1200-git-serve.sh => t1200-git-serve.t} | 0 test/{t1300-git-update.sh => t1300-git-update.t} | 0 test/{t2100-mkpkglists.sh => t2100-mkpkglists.t} | 0 test/{t2200-tuvotereminder.sh => t2200-tuvotereminder.t} | 0 test/{t2300-pkgmaint.sh => t2300-pkgmaint.t} | 0 test/{t2400-aurblup.sh => t2400-aurblup.t} | 0 test/{t2500-notify.sh => t2500-notify.t} | 0 test/{t2600-rendercomment.sh => t2600-rendercomment.t} | 0 test/{t2700-usermaint.sh => t2700-usermaint.t} | 0 11 files changed, 1 insertion(+), 1 deletion(-) rename test/{t1100-git-auth.sh => t1100-git-auth.t} (100%) rename test/{t1200-git-serve.sh => t1200-git-serve.t} (100%) rename test/{t1300-git-update.sh => t1300-git-update.t} (100%) rename test/{t2100-mkpkglists.sh => t2100-mkpkglists.t} (100%) rename test/{t2200-tuvotereminder.sh => t2200-tuvotereminder.t} (100%) rename test/{t2300-pkgmaint.sh => t2300-pkgmaint.t} (100%) rename test/{t2400-aurblup.sh => t2400-aurblup.t} (100%) rename test/{t2500-notify.sh => t2500-notify.t} (100%) rename test/{t2600-rendercomment.sh => t2600-rendercomment.t} (100%) rename test/{t2700-usermaint.sh => t2700-usermaint.t} (100%) diff --git a/test/Makefile b/test/Makefile index f559e169..d310c8f5 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,4 +1,4 @@ -T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)) +T = $(sort $(wildcard *.t)) check: $(T) diff --git a/test/t1100-git-auth.sh b/test/t1100-git-auth.t similarity index 100% rename from test/t1100-git-auth.sh rename to test/t1100-git-auth.t diff --git a/test/t1200-git-serve.sh b/test/t1200-git-serve.t similarity index 100% rename from test/t1200-git-serve.sh rename to test/t1200-git-serve.t diff --git a/test/t1300-git-update.sh b/test/t1300-git-update.t similarity index 100% rename from test/t1300-git-update.sh rename to test/t1300-git-update.t diff --git a/test/t2100-mkpkglists.sh b/test/t2100-mkpkglists.t similarity index 100% rename from test/t2100-mkpkglists.sh rename to test/t2100-mkpkglists.t diff --git a/test/t2200-tuvotereminder.sh b/test/t2200-tuvotereminder.t similarity index 100% rename from test/t2200-tuvotereminder.sh rename to test/t2200-tuvotereminder.t diff --git a/test/t2300-pkgmaint.sh b/test/t2300-pkgmaint.t similarity index 100% rename from test/t2300-pkgmaint.sh rename to test/t2300-pkgmaint.t diff --git a/test/t2400-aurblup.sh b/test/t2400-aurblup.t similarity index 100% rename from test/t2400-aurblup.sh rename to test/t2400-aurblup.t diff --git a/test/t2500-notify.sh b/test/t2500-notify.t similarity index 100% rename from test/t2500-notify.sh rename to test/t2500-notify.t diff --git a/test/t2600-rendercomment.sh b/test/t2600-rendercomment.t similarity index 100% rename from test/t2600-rendercomment.sh rename to test/t2600-rendercomment.t diff --git a/test/t2700-usermaint.sh b/test/t2700-usermaint.t similarity index 100% rename from test/t2700-usermaint.sh rename to test/t2700-usermaint.t -- 2.25.0
On Sun, 23 Feb 2020 at 19:53:13, Frédéric Mangano-Tarumi wrote:
This is the common convention for TAP, and makes harnesses like prove automatically detect them. Plus, test suites don\u2019t have to be shell scripts anymore. --- test/Makefile | 2 +- test/{t1100-git-auth.sh => t1100-git-auth.t} | 0 test/{t1200-git-serve.sh => t1200-git-serve.t} | 0 test/{t1300-git-update.sh => t1300-git-update.t} | 0 test/{t2100-mkpkglists.sh => t2100-mkpkglists.t} | 0 test/{t2200-tuvotereminder.sh => t2200-tuvotereminder.t} | 0 test/{t2300-pkgmaint.sh => t2300-pkgmaint.t} | 0 test/{t2400-aurblup.sh => t2400-aurblup.t} | 0 test/{t2500-notify.sh => t2500-notify.t} | 0 test/{t2600-rendercomment.sh => t2600-rendercomment.t} | 0 test/{t2700-usermaint.sh => t2700-usermaint.t} | 0 11 files changed, 1 insertion(+), 1 deletion(-) rename test/{t1100-git-auth.sh => t1100-git-auth.t} (100%) rename test/{t1200-git-serve.sh => t1200-git-serve.t} (100%) rename test/{t1300-git-update.sh => t1300-git-update.t} (100%) rename test/{t2100-mkpkglists.sh => t2100-mkpkglists.t} (100%) rename test/{t2200-tuvotereminder.sh => t2200-tuvotereminder.t} (100%) rename test/{t2300-pkgmaint.sh => t2300-pkgmaint.t} (100%) rename test/{t2400-aurblup.sh => t2400-aurblup.t} (100%) rename test/{t2500-notify.sh => t2500-notify.t} (100%) rename test/{t2600-rendercomment.sh => t2600-rendercomment.t} (100%) rename test/{t2700-usermaint.sh => t2700-usermaint.t} (100%)
Merged into pu, thanks!
participants (2)
-
Frédéric Mangano-Tarumi
-
Lukas Fleischer