summaryrefslogtreecommitdiff
path: root/agent/test/pl/misc.pl
blob: ad9b2dffb0f1f10c3e92e3a5db9e05cff50e5549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Common actions at the top of each misc test

;# $Id: misc.pl 1 2006-08-24 13:24:12Z rmanfredi $
;#
;#  Copyright (c) 1990-2006, Raphael Manfredi
;#  
;#  You may redistribute only under the terms of the Artistic License,
;#  as specified in the README file that comes with the distribution.
;#  You may reuse parts of this distribution only within the terms of
;#  that same Artistic License; a copy of which may be found at the root
;#  of the source tree for mailagent 3.0.
;#
;# $Log: misc.pl,v $
;# Revision 3.0.1.1  1994/07/01  15:11:55  ram
;# patch8: fixed RCS leading comment string
;#
;# Revision 3.0  1993/11/29  13:50:26  ram
;# Baseline for mailagent 3.0 netwide release.
;#

do '../pl/cmd.pl';

# Add option to command string held in $cmd
sub add_option {
	local($opt) = @_;
	local(@cmd) = split(' ', $cmd);
	$cmd = join(' ', $cmd[0], $opt, @cmd[1..$#cmd]);
}