From 8838358943d2113d1c44767723d341fa982fdc07 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 07 Dec 2015 10:54:01 -0500 Subject: tests/match_plat.sh: Define main() --- 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 +} -- cgit v0.9.1