summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2016-09-20 20:53:44 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2016-09-29 22:07:24 +0200
commit49c7e53572be8be7848ff99aa5e60ffd4dc316eb (patch)
tree6e198cd8171f3f8c267fcb9c0acaf4b464c0dcce
parent1a999810e3a6da21181c91f6b383f69db399cf1c (diff)
downloadaur-49c7e53572be8be7848ff99aa5e60ffd4dc316eb.tar.gz
aur-49c7e53572be8be7848ff99aa5e60ffd4dc316eb.tar.xz
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-xtest/t1100-git-auth.sh (renamed from git-interface/test/t0001-auth.sh)0
-rwxr-xr-xtest/t1200-git-serve.sh (renamed from git-interface/test/t0002-serve.sh)0
-rwxr-xr-xtest/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 d6f0f740..d6f0f740 100644
--- a/git-interface/test/Makefile
+++ b/test/Makefile
diff --git a/git-interface/test/setup.sh b/test/setup.sh
index 0995f053..232b14dc 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 1d57ce9a..1d57ce9a 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 71d526f2..71d526f2 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 2f1926e2..2f1926e2 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 b642089c..b642089c 100755
--- a/git-interface/test/t0003-update.sh
+++ b/test/t1300-git-update.sh