# SpamAssassin rules file: regression tests
#
# This file contains tests perfomed on `make test`. It should not be
# distributed.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of either the Artistic License or the GNU General
# Public License as published by the Free Software Foundation; either
# version 1 of the License, or (at your option) any later version.
#
# See the file "License" in the top level of the SpamAssassin source
# distribution for more details.
#
###########################################################################
test DEAR_SOMETHING ok Dear IT professional,
test DEAR_SOMETHING ok Dear Internet Investor:
test DEAR_FRIEND ok Dear friend,
test DEAR_FRIEND fail Dear Mr. Ithacus,
test FROM_ENDS_IN_NUMS ok matt1234@sergeant.org
test FROM_ENDS_IN_NUMS fail matt@sergeant.org
test FROM_STARTS_WITH_NUMS ok 1234matt@sergeant.org
test FROM_STARTS_WITH_NUMS fail matt@sergeant.org
test FORGED_YAHOO_RCVD fail by mf1.lng.yahoo.com (8.11.1/8.11.1) id g3SDfPH19426
test NUMERIC_HTTP_ADDR ok http://123456789/foo/bar
#test SEARCH_ENGINE_PROMO ok evaluated for FREE for its keyword placement in the top twenty major search engines
test US_DOLLARS fail $-$NFbMF$K!"A49q$+$iLd$$9g$o$;$,;&E~$7$F$$$^$9!#
test US_DOLLARS ok Twenty Million Five Hundred Thousand United States Dollars
test US_DOLLARS ok Eight million, Five Hundred United States dollars
test US_DOLLARS ok One Million, Five Hundred Thousand U. S. Dollars
test US_DOLLARS ok EIHGTEEN MILLION UNITED STATE DOLLARS
test US_DOLLARS ok 24million U.S dollars cash
test US_DOLLARS ok 47 million US DOLLARS
test US_DOLLARS ok FIVE MILLION FIVE HOUNDRED THOUSAND CANADIAN DOLLAS)
test US_DOLLARS_2 fail JP charset test: this should not match: $1 $
test US_DOLLARS_2 fail JP charset test: this should not match: $1$
test US_DOLLARS_2 fail $-$NFbMF$K!"A49q$+$iLd$$9g$o$;$,;&E~$7$F$$$^$9!#
test US_DOLLARS_2 ok of USD$17.4M only
test US_DOLLARS_2 ok amount $21.5m represents
test US_DOLLARS_2 ok of US$26.4 million
test US_DOLLARS_2 ok the $21.5 million,
test US_DOLLARS_3 fail $-$NFbMF$K!"A49q$+$iLd$$9g$o$;$,;&E~$7$F$$$^$9!#
test US_DOLLARS_3 ok OF US$75,000,000.00 ( SEVENTYFIVE
test US_DOLLARS_3 ok DOLLAR(USD$30,000,000,00.)
test US_DOLLARS_3 ok ($21,500,000.)
test US_DOLLARS_3 ok ($ 152,000.000.00)
# note: have to use "." instead of "#", as it's the comment char
test SAVE_ON_INSURANCE ok Compare and Save Instantly On Your Auto Insurance
test TRACKER_ID ok 2174Hzdm0-105YUqT8863DiDg0-616mqbE4931HEBc0-732qBHd6314l52
test TRACKER_ID ok ofsknxxdqgtgqvsoiytkivajvtj
test TRACKER_ID fail
test TRACKER_ID fail Donau-Dampfschifffahrts-Kapitaen
test __OBFUSCATING_COMMENT ok This is a test
test __OBFUSCATING_COMMENT fail Not a here
test __OBFUSCATING_COMMENT fail or here
test __OBFUSCATING_COMMENT fail This