summaryrefslogtreecommitdiffstats
path: root/tests/match_plat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/match_plat.sh')
-rwxr-xr-xtests/match_plat.sh25
1 files changed, 13 insertions, 12 deletions
diff --git a/tests/match_plat.sh b/tests/match_plat.sh
index 775e203..9074362 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}"
@@ -47,18 +43,23 @@ do_test()
fi
}
-do_test all 'all' true
+main()
+{
+ do_test all 'all' true
-do_test dev 'any' true
+ do_test dev 'any' true
-do_test dev 'any all' true
+ do_test dev 'any all' true
-do_test all 'any all' true
+ do_test all 'any all' true
-do_test dev 'dev' true
+ do_test dev 'dev' true
-do_test dev 'ao751h' false
+ do_test dev 'ao751h' false
-do_test all 'any' false
+ do_test all 'any' false
-do_test any 'all' false
+ do_test any 'all' false
+
+ return 0
+}