projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make RUNLTTV configurable in trace_matches
[ust.git]
/
tests
/
trace_matches
diff --git
a/tests/trace_matches
b/tests/trace_matches
index c2135c1801a5886bdc34308b0a6a456972f5a36b..ae838fba66adf7fc8d124d9a87b65f79ceea1a0a 100755
(executable)
--- a/
tests/trace_matches
+++ b/
tests/trace_matches
@@
-1,6
+1,8
@@
#!/bin/bash
#!/bin/bash
-RUNLTTV=~/devel/lttv/runlttv
+if [ -z "$RUNLTTV" ]; then
+ RUNLTTV=~/devel/lttv/runlttv
+fi
function error() {
echo "$0: $@" >/dev/stderr
function error() {
echo "$0: $@" >/dev/stderr
@@
-50,6
+52,7
@@
if [ -z "$expected_count" ]; then
if [ "$cnt" -eq "0" ]; then
echo "ERROR"
echo "Did not find at least one instance of this event ($cnt)"
if [ "$cnt" -eq "0" ]; then
echo "ERROR"
echo "Did not find at least one instance of this event ($cnt)"
+ exit 1
else
echo "Success"
exit 0
else
echo "Success"
exit 0
This page took
0.023953 seconds
and
4
git commands to generate.