summaryrefslogtreecommitdiffstats
path: root/testsuite/transok
diff options
context:
space:
mode:
authorfche <fche>2007-03-14 15:20:45 +0000
committerfche <fche>2007-03-14 15:20:45 +0000
commit5ba96b9022078048e9f916431d3b8792a9dc8615 (patch)
tree8a9ef21f25cbb117e2473d96730a07f89e2559d2 /testsuite/transok
parent3b6fd2ea934f1d75174e5a786701c90f32553fe8 (diff)
downloadsystemtap-steved-5ba96b9022078048e9f916431d3b8792a9dc8615.tar.gz
systemtap-steved-5ba96b9022078048e9f916431d3b8792a9dc8615.tar.xz
systemtap-steved-5ba96b9022078048e9f916431d3b8792a9dc8615.zip
2007-03-13 Frank Ch. Eigler <fche@redhat.com>
PR 4171. * Makefile.am (check, installcheck): Pass build-tree pointers in environment variables. * configure.ac: Run separate configury for testsuite/. * configure, Makefile.in: Regenerated. 2007-03-14 Frank Ch. Eigler <fche@redhat.com> PR 4171. * configure.ac, configure, aclocal.m4: New files to permit testsuite-only build tree. * Makefile.am (RUNTEST): Arrange a crazy concoction of environment/make variable for runtest. * Makefile.in: Regenerated. * */*.stp: Switch test cases from "./stap" to "stap" throughout. * lib/systemtap.exp: Assume/trace environment variables. (stap_run_batch): Add "#! stap"-handling hack.
Diffstat (limited to 'testsuite/transok')
-rwxr-xr-xtestsuite/transok/buildko.stp2
-rwxr-xr-xtestsuite/transok/nine.stp2
-rwxr-xr-xtestsuite/transok/tval-opt.stp4
3 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/transok/buildko.stp b/testsuite/transok/buildko.stp
index 4387b0f1..a334f23e 100755
--- a/testsuite/transok/buildko.stp
+++ b/testsuite/transok/buildko.stp
@@ -9,6 +9,6 @@ do
if grep -q /bin/sh $file; then
true # can't override stap options
else
- ./stap -p3 $file
+ stap -p3 $file
fi
done
diff --git a/testsuite/transok/nine.stp b/testsuite/transok/nine.stp
index 82ebc4a9..9e13774b 100755
--- a/testsuite/transok/nine.stp
+++ b/testsuite/transok/nine.stp
@@ -1,6 +1,6 @@
#! /bin/sh
-./stap -p3 -g $@ - <<'END'
+stap -p3 -g $@ - <<'END'
%{
void just_some_declaration () {}
diff --git a/testsuite/transok/tval-opt.stp b/testsuite/transok/tval-opt.stp
index 4f1c0b06..76dcfd24 100755
--- a/testsuite/transok/tval-opt.stp
+++ b/testsuite/transok/tval-opt.stp
@@ -3,7 +3,7 @@
set -e
script='probe kernel.function("kbd_keycode") { if ($keycode==50) $keycode=49 }'
-s1=`./stap -p3 -g -e "$script" | sum`
-s2=`./stap -p3 -g -u -e "$script" | sum`
+s1=`stap -p3 -g -e "$script" | sum`
+s2=`stap -p3 -g -u -e "$script" | sum`
test x"$s1" == x"$s2"