summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-07 10:41:11 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-07 10:41:11 (EST)
commitda6f6314a7a8509bc4e0bcbf2a8da6dad8e68dd1 (patch)
tree76dd928ba692aae15f91ed05ae6e7c3a89fdcad6
parentd6b6c6f2aa5e4b7096679688e3166266883a31d5 (diff)
tests/*.sh: Drop . and use()
-rwxr-xr-xtests/arch_is_concerned.sh4
-rwxr-xr-xtests/match_arch.sh4
-rwxr-xr-xtests/match_plat.sh4
-rwxr-xr-xtests/parse_control.basic.sh2
-rw-r--r--tests/parse_control.common.sh5
-rwxr-xr-xtests/plat_is_concerned.sh4
-rwxr-xr-xtests/reduce_deps.sh4
-rwxr-xr-xtests/resolve_deps.basic.sh4
8 files changed, 0 insertions, 31 deletions
diff --git a/tests/arch_is_concerned.sh b/tests/arch_is_concerned.sh
index 5358b73..26a1f86 100755
--- a/tests/arch_is_concerned.sh
+++ b/tests/arch_is_concerned.sh
@@ -20,10 +20,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-. "${srcdir}/tests/common.sh"
-
-use archplat
-
do_test()
{
local host_arch="${1}"
diff --git a/tests/match_arch.sh b/tests/match_arch.sh
index f9b8a22..3e9d5fc 100755
--- a/tests/match_arch.sh
+++ b/tests/match_arch.sh
@@ -20,10 +20,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-. "${srcdir}/tests/common.sh"
-
-use archplat
-
do_test()
{
local arch="${1}"
diff --git a/tests/match_plat.sh b/tests/match_plat.sh
index 775e203..367abfd 100755
--- a/tests/match_plat.sh
+++ b/tests/match_plat.sh
@@ -20,10 +20,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-. "${srcdir}/tests/common.sh"
-
-use archplat
-
do_test()
{
local plat="${1}"
diff --git a/tests/parse_control.basic.sh b/tests/parse_control.basic.sh
index f8df181..98d3c83 100755
--- a/tests/parse_control.basic.sh
+++ b/tests/parse_control.basic.sh
@@ -39,5 +39,3 @@ Package bar
Version 2.0
ΒΆ
"
-
-. "${srcdir}/tests/parse_control.common.sh"
diff --git a/tests/parse_control.common.sh b/tests/parse_control.common.sh
index 1549ae0..b989af3 100644
--- a/tests/parse_control.common.sh
+++ b/tests/parse_control.common.sh
@@ -18,11 +18,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-. "${srcdir}/tests/common.sh"
-
-use output
-use control
-
load_locale
HT=' '
diff --git a/tests/plat_is_concerned.sh b/tests/plat_is_concerned.sh
index 2bc808b..33f909a 100755
--- a/tests/plat_is_concerned.sh
+++ b/tests/plat_is_concerned.sh
@@ -20,10 +20,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-. "${srcdir}/tests/common.sh"
-
-use archplat
-
do_test()
{
local host_plat="${1}"
diff --git a/tests/reduce_deps.sh b/tests/reduce_deps.sh
index 569a16c..a85775f 100755
--- a/tests/reduce_deps.sh
+++ b/tests/reduce_deps.sh
@@ -20,10 +20,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-. "${srcdir}/tests/common.sh"
-
-use deps
-
do_test()
{
local deps="${1}"
diff --git a/tests/resolve_deps.basic.sh b/tests/resolve_deps.basic.sh
index b0c506c..ca49286 100755
--- a/tests/resolve_deps.basic.sh
+++ b/tests/resolve_deps.basic.sh
@@ -20,10 +20,6 @@
# along with the ProteanOS Development Kit. If not, see
# <http://www.gnu.org/licenses/>.
-. "${srcdir}/tests/common.sh"
-
-use pkg
-
pkgs='foo bar'
deps="\
foo: baz