diff options
author | P. 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) |
commit | 8838358943d2113d1c44767723d341fa982fdc07 (patch) | |
tree | 88c5b13c2cc6cc4916354a1e735c1824a20aea89 | |
parent | 6562c52fade8cd1833ce4e977a9ad951bd0912ef (diff) |
tests/match_plat.sh: Define main()
-rwxr-xr-x | tests/match_plat.sh | 21 |
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 +} |