From da6f6314a7a8509bc4e0bcbf2a8da6dad8e68dd1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 07 Dec 2015 10:41:11 -0500 Subject: tests/*.sh: Drop . and use() --- 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 # . -. "${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 # . -. "${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 # . -. "${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 # . -. "${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 # . -. "${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 # . -. "${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 # . -. "${srcdir}/tests/common.sh" - -use pkg - pkgs='foo bar' deps="\ foo: baz -- cgit v0.9.1