summaryrefslogtreecommitdiffstats
path: root/runtest.sh
blob: e7415c9b22c17f332596c2f5cda78c0fb89e6c2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

# Redirect stdout/stderr to /dev/null before invoking the given test

SRCDIR=`dirname $0`
export SRCDIR

SYSTEMTAP_TAPSET=$SRCDIR/tapset
export SYSTEMTAP_TAPSET

SYSTEMTAP_RUNTIME=$SRCDIR/runtime
export SYSTEMTAP_RUNTIME

exec >/dev/null 2>&1
exec ${1+"$@"}