Commit 1ec74da3 authored by Jonathon Duerig's avatar Jonathon Duerig

Modified linktest to work as a standalone utility.

parent 3f7d874b
#!/usr/bin/perl -w -T
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2007 University of Utah and the Flux Group.
# All rights reserved.
#
use strict;
my $PROJROOT = "@PROJROOT_DIR@";
my $CLIENT_VARDIR = "@CLIENT_VARDIR@";
my $CLIENT_BINDIR = "@CLIENT_BINDIR@";
my $EVENTSERVER = "@EVENTSERVER@";
my $argString = join(" ", @ARGV);
my $argString .= " LOGDIR=$PROJROOT VARDIR=$CLIENT_VARDIR BINDIR=$CLIENT_BINDIR EVENTSERVER=$EVENTSERVER";
system("$CLIENT_BINDIR/linktest.pl $argString");
perl -w -T linktest.pl.in STARTAT=1 STOPAT=4 DOARP=0 NODES=node1,node2 LOGDIR=/proj BINDIR=/usr/testbed/lib VARDIR=/var/emulab/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment