blob: b036dd847f6eefa3815413d077968828f3828aeb [file] [log] [blame]
#!/usr/bin/perl
#
# bug 6176 comment 14: regression test
use lib '.'; use lib 't';
use SATest; sa_t_init("spamc_bug6176");
use Test; plan tests => ($NO_SPAMC_EXE ? 0 : 2);
exit if $NO_SPAMC_EXE;
# ---------------------------------------------------------------------------
%patterns = (
q{ TO GET THE EVOLUTION PREVIEW RELEASE }, 'evolution',
);
# connect on port 9 (discard): should always fail.
# fake "username" is used so that the SATest.pm code which adds -F
# is inhibited, to trigger the bug.
ok (scrun ("-p 9 --username=ignore_-F_switch < data/nice/001", \&patterns_run_cb));
ok_all_patterns();