summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-04-26 03:36:28 +0000
committerjb <jb@FreeBSD.org>2008-04-26 03:36:28 +0000
commit7cf5dd8cd4466e0b2b86dfe435d31692bb310c8e (patch)
treecf99cad6888a15e9b8bc15e787426c46fb5115cd /cddl
parent92d707013b4b15863635b679b0b8e7f9c1760158 (diff)
downloadFreeBSD-src-7cf5dd8cd4466e0b2b86dfe435d31692bb310c8e.zip
FreeBSD-src-7cf5dd8cd4466e0b2b86dfe435d31692bb310c8e.tar.gz
* Set the path to perl on FreeBSD.
* Use the FreeBSD shell. * On FreeBSD the tests run from the OBJDIR, so output files go there rather than in the source tree like they do on Solaris. * FreeBSD doesn't need a special path to the compiler.
Diffstat (limited to 'cddl')
-rw-r--r--cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl b/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl
index 9624410..e8d9032 100644
--- a/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl
+++ b/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/scripts/dtest.pl
@@ -1,4 +1,4 @@
-#!/usr/perl5/bin/perl
+#!/usr/local/bin/perl
#
# CDDL HEADER START
#
@@ -43,7 +43,7 @@ $USAGE = "Usage: $PNAME [-abfghjlnqs] [-d dir] [-i isa] "
@dtrace_argv = ();
-$ksh_path = '/usr/bin/ksh';
+$ksh_path = '/bin/sh';
@files = ();
%exceptions = ();
@@ -273,7 +273,7 @@ sub run_tests {
}
$fullname = "$dir/$name";
- $exe = "$dir/$base.exe";
+ $exe = "./$base.exe";
$exe_pid = -1;
if ($opt_a && ($status != 0 || $tag != 0 || $droptag != 0 ||
@@ -592,7 +592,7 @@ if ($opt_g) {
# Ensure that $PATH contains a cc(1) so that we can execute the
# test programs that require compilation of C code.
#
-$ENV{'PATH'} = $ENV{'PATH'} . ':/ws/onnv-tools/SUNWspro/SS11/bin';
+#$ENV{'PATH'} = $ENV{'PATH'} . ':/ws/onnv-tools/SUNWspro/SS11/bin';
if ($opt_b) {
logmsg("badioctl'ing ... ");
OpenPOWER on IntegriCloud