summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok
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/parseok
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/parseok')
-rwxr-xr-xtestsuite/parseok/cmdline01.stp4
-rwxr-xr-xtestsuite/parseok/cmdline02.stp2
-rwxr-xr-xtestsuite/parseok/semko.stp2
-rwxr-xr-xtestsuite/parseok/twelve.stp2
-rwxr-xr-xtestsuite/parseok/unparser.stp2
5 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/parseok/cmdline01.stp b/testsuite/parseok/cmdline01.stp
index da4e6eb3..4bb1d6ea 100755
--- a/testsuite/parseok/cmdline01.stp
+++ b/testsuite/parseok/cmdline01.stp
@@ -1,10 +1,10 @@
#! /bin/sh
echo "output version"
-./stap -V
+stap -V
if [ $? != 0 ]; then
exit $?
fi
echo "output version and help"
-./stap -h
+stap -h
diff --git a/testsuite/parseok/cmdline02.stp b/testsuite/parseok/cmdline02.stp
index 4ddb711d..37b73303 100755
--- a/testsuite/parseok/cmdline02.stp
+++ b/testsuite/parseok/cmdline02.stp
@@ -2,4 +2,4 @@
# Make sure verbose ('-v') option is accepted.
-./stap -v -p1 -e 'probe begin { exit() }'
+stap -v -p1 -e 'probe begin { exit() }'
diff --git a/testsuite/parseok/semko.stp b/testsuite/parseok/semko.stp
index 92339597..d1df34e5 100755
--- a/testsuite/parseok/semko.stp
+++ b/testsuite/parseok/semko.stp
@@ -10,6 +10,6 @@ do
if grep -q /bin/sh $file; then
true # can't override stap options
else
- ./stap -p1 $file
+ stap -p1 $file
fi
done
diff --git a/testsuite/parseok/twelve.stp b/testsuite/parseok/twelve.stp
index 2e20da18..9d7b3049 100755
--- a/testsuite/parseok/twelve.stp
+++ b/testsuite/parseok/twelve.stp
@@ -1,6 +1,6 @@
#! /bin/sh
-./stap -p1 -g $@ - <<'END'
+stap -p1 -g $@ - <<'END'
%{
/* hello world */
diff --git a/testsuite/parseok/unparser.stp b/testsuite/parseok/unparser.stp
index b5deb146..41dac9a0 100755
--- a/testsuite/parseok/unparser.stp
+++ b/testsuite/parseok/unparser.stp
@@ -19,7 +19,7 @@ do
else guru=
fi
echo $file $guru
- ./stap $guru -p1 $file | ./stap $guru -p1 - > /dev/null
+ stap $guru -p1 $file | stap $guru -p1 - > /dev/null
fi
done
done