diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2016-09-20 20:53:44 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2016-09-29 22:07:24 +0200 |
commit | 49c7e53572be8be7848ff99aa5e60ffd4dc316eb (patch) | |
tree | 6e198cd8171f3f8c267fcb9c0acaf4b464c0dcce | |
parent | 1a999810e3a6da21181c91f6b383f69db399cf1c (diff) |
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>
-rw-r--r-- | test/Makefile (renamed from git-interface/test/Makefile) | 0 | ||||
-rw-r--r-- | test/setup.sh (renamed from git-interface/test/setup.sh) | 2 | ||||
-rw-r--r-- | test/sharness.sh (renamed from git-interface/test/sharness.sh) | 0 | ||||
-rwxr-xr-x | test/t1100-git-auth.sh (renamed from git-interface/test/t0001-auth.sh) | 0 | ||||
-rwxr-xr-x | test/t1200-git-serve.sh (renamed from git-interface/test/t0002-serve.sh) | 0 | ||||
-rwxr-xr-x | test/t1300-git-update.sh (renamed from git-interface/test/t0003-update.sh) | 0 |
6 files changed, 1 insertions, 1 deletions
diff --git a/git-interface/test/Makefile b/test/Makefile index d6f0f74..d6f0f74 100644 --- a/git-interface/test/Makefile +++ b/test/Makefile diff --git a/git-interface/test/setup.sh b/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 index 1d57ce9..1d57ce9 100644 --- a/git-interface/test/sharness.sh +++ b/test/sharness.sh diff --git a/git-interface/test/t0001-auth.sh b/test/t1100-git-auth.sh index 71d526f..71d526f 100755 --- a/git-interface/test/t0001-auth.sh +++ b/test/t1100-git-auth.sh diff --git a/git-interface/test/t0002-serve.sh b/test/t1200-git-serve.sh index 2f1926e..2f1926e 100755 --- a/git-interface/test/t0002-serve.sh +++ b/test/t1200-git-serve.sh diff --git a/git-interface/test/t0003-update.sh b/test/t1300-git-update.sh index b642089..b642089 100755 --- a/git-interface/test/t0003-update.sh +++ b/test/t1300-git-update.sh |