summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-07 10:54:01 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-07 10:54:01 (EST)
commit8838358943d2113d1c44767723d341fa982fdc07 (patch)
tree88c5b13c2cc6cc4916354a1e735c1824a20aea89 /tests
parent6562c52fade8cd1833ce4e977a9ad951bd0912ef (diff)
tests/match_plat.sh: Define main()
Diffstat (limited to 'tests')
-rwxr-xr-xtests/match_plat.sh21
1 files changed, 13 insertions, 8 deletions
diff --git a/tests/match_plat.sh b/tests/match_plat.sh
index 367abfd..9074362 100755
--- a/tests/match_plat.sh
+++ b/tests/match_plat.sh
@@ -43,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
+}