From 5ba96b9022078048e9f916431d3b8792a9dc8615 Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 14 Mar 2007 15:20:45 +0000 Subject: 2007-03-13 Frank Ch. Eigler 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 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. --- testsuite/parseok/cmdline01.stp | 4 ++-- testsuite/parseok/cmdline02.stp | 2 +- testsuite/parseok/semko.stp | 2 +- testsuite/parseok/twelve.stp | 2 +- testsuite/parseok/unparser.stp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'testsuite/parseok') 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 -- cgit