projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: test: base-path tests are not run
[lttng-tools.git]
/
tests
/
utils
/
utils.sh
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index 0b126a706d3a4da30cc1576875626b2224af09e1..9bfd450e06cda5164bfb86b5638688b8880f391c 100644
(file)
--- a/
tests/utils/utils.sh
+++ b/
tests/utils/utils.sh
@@
-46,7
+46,7
@@
export LTTNG_SESSIOND_PATH="/bin/true"
source $TESTDIR/utils/tap/tap.sh
source $TESTDIR/utils/tap/tap.sh
-if [ -z $
LTTNG_TEST_TEARDOWN_TIMEOUT
]; then
+if [ -z $
{LTTNG_TEST_TEARDOWN_TIMEOUT+x}
]; then
LTTNG_TEST_TEARDOWN_TIMEOUT=60
fi
LTTNG_TEST_TEARDOWN_TIMEOUT=60
fi
@@
-664,7
+664,7
@@
function stop_lttng_sessiond_opt()
if [ -n "$modules" ]; then
diag "Unloading all LTTng modules"
if [ -n "$modules" ]; then
diag "Unloading all LTTng modules"
- modprobe -
r
"$modules"
+ modprobe -
-remove
"$modules"
fi
fi
fi
fi
fi
fi
@@
-1420,7
+1420,7
@@
function lttng_snapshot_record ()
local sess_name=$1
local trace_path=$2
local sess_name=$1
local trace_path=$2
- $TESTDIR/../src/bin/lttng/$LTTNG_BIN snapshot record -s
$sess_name $trace_path
1> $OUTPUT_DEST 2> $ERROR_OUTPUT_DEST
+ $TESTDIR/../src/bin/lttng/$LTTNG_BIN snapshot record -s
"$sess_name" "$trace_path"
1> $OUTPUT_DEST 2> $ERROR_OUTPUT_DEST
ok $? "Snapshot recorded"
}
ok $? "Snapshot recorded"
}
This page took
0.024594 seconds
and
4
git commands to generate.