projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use `modprobe --remove` rather than `rmmod`
[lttng-tools.git]
/
tests
/
utils
/
utils.sh
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index 0b126a706d3a4da30cc1576875626b2224af09e1..b29fa5f2d8b65e78a9b2c2d466680786e4dc036b 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
This page took
0.02502 seconds
and
4
git commands to generate.