Commit 20b09670 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add web wrapper for calling from web page script.

parent 165f4382
......@@ -22,7 +22,7 @@ SYSTEM := $(shell uname -s)
include $(OBJDIR)/Makeconf
all: binaries $(SCRIPT) $(SCRIPT_RUN)
all: binaries $(SCRIPT) $(SCRIPT_RUN) weblinktest
include $(TESTBED_SRCDIR)/GNUmakerules
......@@ -74,6 +74,7 @@ $(LTEVENT_OBJS): ../lib/libevent.a ../lib/event.h
# We install just enough to fire off the test from boss and wait.
install:
$(INSTALL_PROGRAM) $(LOCAL_BINDIR)/$(LTEVENT) $(INSTALL_LIBEXECDIR)
$(INSTALL_PROGRAM) weblinktest $(INSTALL_LIBEXECDIR)
$(INSTALL_PROGRAM) $(SCRIPT_RUN) $(INSTALL_BINDIR)
control-install: install
......
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
#
# This gets invoked from the Web interface. Simply a wrapper ...
#
#
# Configure variables
#
my $TB = "@prefix@";
#
# Run the real thing, and never return.
#
exec "$TB/bin/run_linktest.pl", @ARGV;
die("*** $0:\n".
" Could not exec program: $!");
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