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> --- {git-interface/test => test}/Makefile | 0 {git-interface/test => test}/setup.sh | 2 +- {git-interface/test => test}/sharness.sh | 0 git-interface/test/t0001-auth.sh => test/t1100-git-auth.sh | 0 git-interface/test/t0002-serve.sh => test/t1200-git-serve.sh | 0 git-interface/test/t0003-update.sh => test/t1300-git-update.sh | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename {git-interface/test => test}/Makefile (100%) rename {git-interface/test => test}/setup.sh (99%) rename {git-interface/test => test}/sharness.sh (100%) rename git-interface/test/t0001-auth.sh => test/t1100-git-auth.sh (100%) rename git-interface/test/t0002-serve.sh => test/t1200-git-serve.sh (100%) rename git-interface/test/t0003-update.sh => test/t1300-git-update.sh (100%) diff --git a/git-interface/test/Makefile b/test/Makefile similarity index 100% rename from git-interface/test/Makefile rename to test/Makefile diff --git a/git-interface/test/setup.sh b/test/setup.sh similarity index 99% rename from git-interface/test/setup.sh rename to test/setup.sh index 0995f05..232b14d 100644 --- a/git-interface/test/setup.sh +++ b/test/setup.sh @@ -1,5 +1,5 @@ TEST_DIRECTORY="$(pwd)" -TOPLEVEL="$(cd ../.. && pwd)" +TOPLEVEL="$(cd .. && pwd)" . ./sharness.sh diff --git a/git-interface/test/sharness.sh b/test/sharness.sh similarity index 100% rename from git-interface/test/sharness.sh rename to test/sharness.sh diff --git a/git-interface/test/t0001-auth.sh b/test/t1100-git-auth.sh similarity index 100% rename from git-interface/test/t0001-auth.sh rename to test/t1100-git-auth.sh diff --git a/git-interface/test/t0002-serve.sh b/test/t1200-git-serve.sh similarity index 100% rename from git-interface/test/t0002-serve.sh rename to test/t1200-git-serve.sh diff --git a/git-interface/test/t0003-update.sh b/test/t1300-git-update.sh similarity index 100% rename from git-interface/test/t0003-update.sh rename to test/t1300-git-update.sh -- 2.10.0