head     1.3;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @# @;


1.3
date     89.11.01.17.36.56;  author rsalz;  state Exp;
branches ;
next     1.2;

1.2
date     89.10.24.22.06.38;  author rsalz;  state Exp;
branches ;
next     1.1;

1.1
date     89.07.10.12.15.10;  author rsalz;  state Exp;
branches ;
next     ;


desc
@Test cases for gag program.
@


1.3
log
@Make syntax a bit more user friendly.
@
text
@/*
**  Test suite for gag, Gateway Alias Generator.
**
**  $Header: test-gag,v 1.2 89/10/24 22:06:38 rsalz Locked $
*/


/*
**  BBN MAILING LISTS
*/
/* default inews flags = ""; */
default distributions = "world usa na ne bbn ddn gnu inet";
default directory = "/usr/lib/news/.admin";	/* Where MMDF scripts are */
default mail2news = "/usr/uucp/bin/mail2news";	/* Paths to gateway	*/
default news2mail = "/usr/uucp/bin/news2mail";	/*   programs		*/
default mailcontact = "usenet";			/* Put in mail headers	*/
default mailhost = "mailer.bbn.com";		/* MMDF list processor	*/
default mailinglist = true;			/* Going both ways	*/
default organization = "BBN news/mail gateway";
default owner = "usenet";			/* Sendmail alias owner	*/
default site = "gateway";			/* Psuedo news site	*/
default user = "news";				/* MMDF script owner	*/

/*	newsgroup		mailing list */
gateway bbn.bboard		bboard;
gateway bbn.test		usenet;

/* Mail rec.equestrian articles to the list moderator, unless he's seen
 * them already. */
gateway rec.equestrian		horse
	news2mail =
	    "v6mail -to kenr@@ccp.bbn.com -subj 'Forwarded Horse Article'"
	site = "ccp.bbn.com";

/* Set up post-comp-foo as an alias that posts articles. */
mailpost comp.foo;


/*
**  GNU MAILING LISTS (OSU)
*/
default site = "internet";			/* Psuedo news site	*/
default inews flags = "-x internet -d gnu";	/* Flags for mail2news	*/
default mail2news = "/usr/lib/news/nrecnews";	/* Path to mail2news	*/
default mailhost = "prep.ai.mit.edu";		/* Home of mailing list	*/
default mailinglist = true;			/* Going both ways	*/
default organization = dotify("GNUs Not Usenet");
default owner = "usenet";			/* Sendmail alias owner	*/

gateway gnu.announce			info-gnu
    moderator = "info-gnu@@prep.ai.mit.edu"
    inews flags = "-d gnu";
gateway gnu.emacs			info-gnu-emacs;
gateway gnu.emacs.bug			bug-gnu-emacs;
gateway gnu.gdb.bug			bug-gdb;
gateway gnu.gcc				info-gcc;
gateway gnu.gcc.bug			bug-gcc;
gateway gnu.g++				info-g++;
gateway gnu.g++.bug			bug-g++;
gateway gnu.chess			info-chess;
gateway gnu.ghostscript.bug		bug-ghostscript;
gateway gnu.utils.bug			bug-gnu-utils;
gateway gnu.emacs.gnus			info-gnus-english
    mailhost = "cis.ohio-state.edu";
gateway gnu.emacs.vms		vms-gnu-emacs
    mailhost = "harvard.havard.edu";
gateway gnu.emacs.lisp.manual		gnu-manual
    mailhost = "a.cs.uiuc.edu";


/*
**  OSU LOCAL MAILING LISTS
*/
gateway alt.sca				sca
    inews flags = "-d alt -x internet"
    mailhost = "mc.lcs.mit.edu"
    mailinglist = false
    organization = dotify("Society for Creative Anachronism");

gateway cis.big-lan			big-lan
    inews flags = "-d cis -x internet"
    mailhost = "suvm.acs.syr.edu"
    organization = dotify("The Internet");
@


1.2
log
@Add some comments.
@
text
@d4 1
a4 1
**  $Header$
d18 1
a18 1
default do mailinglist;				/* Going both ways	*/
d24 3
a26 3
/* newsgroup		mailing list */
bbn.bboard		bboard;
bbn.test		usenet;
d30 3
a32 3
rec.equestrian		horse
	news2mail = "v6mail -to kenr@@ccp.bbn.com 
		-subj 'Forwarded Horse Article'"
d46 1
a46 1
default do mailinglist;				/* Going both ways	*/
d50 14
a63 14
gnu.announce			info-gnu
    moderator "info-gnu@@prep.ai.mit.edu"
    inews flags "-d gnu";
gnu.emacs			info-gnu-emacs;
gnu.emacs.bug			bug-gnu-emacs;
gnu.gdb.bug			bug-gdb;
gnu.gcc				info-gcc;
gnu.gcc.bug			bug-gcc;
gnu.g++				info-g++;
gnu.g++.bug			bug-g++;
gnu.chess			info-chess;
gnu.ghostscript.bug		bug-ghostscript;
gnu.utils.bug			bug-gnu-utils;
gnu.emacs.gnus			info-gnus-english
d65 1
a65 1
gnu.emacs.vms		vms-gnu-emacs
d67 1
a67 1
gnu.emacs.lisp.manual		gnu-manual
d74 1
a74 1
alt.sca				sca
d77 1
a77 1
    no mailinglist
d80 1
a80 1
cis.big-lan			big-lan
@


1.1
log
@Initial revision
@
text
@d2 3
a4 1
**  Test suite
d24 1
a24 1
/*
d26 4
a29 1
bbn.test		test;
a30 1
    err, unh, will this work???:
a33 1
*/
d35 1
a68 5

/*
# MODP(list, newsgroup, distribution, remote_host)
# MODPOST(mailing_list, newsgroups, remote_host)
*/
@
