aboutsummaryrefslogtreecommitdiffstats
path: root/tools/fuzz-test.sh
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-08-16 01:52:51 +0000
committerEvan Huus <eapache@gmail.com>2013-08-16 01:52:51 +0000
commit5d8b79cff5a9a3939876330046c1d75cd3ca4e55 (patch)
tree948ba04f9a69612a479fd69d2725d6c202ee649a /tools/fuzz-test.sh
parent6538787c92075f207749da7a3c8a566ec703d0ea (diff)
Try to use smarter path resolution and detection in order to work in
environments that are not the build tree (namely the fuzz-bot, but this might make normal out-of-tree builds easier too). svn path=/trunk/; revision=51387
Diffstat (limited to 'tools/fuzz-test.sh')
-rwxr-xr-xtools/fuzz-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fuzz-test.sh b/tools/fuzz-test.sh
index bc876d9bdf..c471777770 100755
--- a/tools/fuzz-test.sh
+++ b/tools/fuzz-test.sh
@@ -73,7 +73,7 @@ shift $(($OPTIND - 1))
### usually you won't have to change anything below this line ###
if [ $VALGRIND -eq 1 ]; then
- RUNNER="$BIN_DIR/tools/valgrind-wireshark.sh"
+ RUNNER="`dirname $0`/valgrind-wireshark.sh"
declare -a RUNNER_ARGS=("${CONFIG_PROFILE}${TWO_PASS}" "${CONFIG_PROFILE}${TWO_PASS}-T")
else
# Not using valgrind, use regular tshark.