1# -o: overwrite config file with supplied definition
2
3# $Id: o.t,v 3.0 1993/11/29 13:50:18 ram Exp ram $
4#
5#  Copyright (c) 1990-2006, Raphael Manfredi
6#
7#  You may redistribute only under the terms of the Artistic License,
8#  as specified in the README file that comes with the distribution.
9#  You may reuse parts of this distribution only within the terms of
10#  that same Artistic License; a copy of which may be found at the root
11#  of the source tree for mailagent 3.0.
12#
13# $Log: o.t,v $
14# Revision 3.0  1993/11/29  13:50:18  ram
15# Baseline for mailagent 3.0 netwide release.
16#
17
18do '../pl/init.pl';
19chdir '../out';
20unlink 'mylog';
21`$mailagent -d -o 'log: mylog' 2>/dev/null`;
22$? == 0 || print "1\n";
23-s 'mylog' || print "2\n";
24unlink 'mylog';
25print "0\n";
26