Reorganize tests

Move and rename the existing git-interface tests such that tests for
other scripts can be added easily.

In particular, the following changes are made:

* Move the existing tests from git-interface/test/ to test/.
* Rename t0001-auth.sh to t1100-git-auth.sh.
* Rename t0002-serve.sh to t1200-git-serve.sh.
* Rename t0003-update.sh to t1300-git-update.sh.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2016-09-20 20:53:44 +02:00
parent 1a999810e3
commit 49c7e53572
6 changed files with 1 additions and 1 deletions

11
test/Makefile Normal file
View file

@ -0,0 +1,11 @@
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
check: $(T)
clean:
$(RM) -r test-results/
$(T):
@echo "*** $@ ***"; $(SHELL) $@
.PHONY: check clean $(T)