projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests: use TRACEPOINT_INCLUDE
[lttng-tools.git]
/
tests
/
regression
/
tools
/
clear
/
test_kernel
diff --git
a/tests/regression/tools/clear/test_kernel
b/tests/regression/tools/clear/test_kernel
index c105698391726dac39989cce4098caa6aec2c1cf..01065748b898e192e0225be8b1477c602f067179 100755
(executable)
--- a/
tests/regression/tools/clear/test_kernel
+++ b/
tests/regression/tools/clear/test_kernel
@@
-1,6
+1,6
@@
#!/bin/bash
#
#!/bin/bash
#
-# Copyright (C) 2019 Jonathan Rajotte
-Julien
<jonathan.rajotte-julien@efficios.com>
+# Copyright (C) 2019 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
#
# SPDX-License-Identifier: LGPL-2.1-only
#
# SPDX-License-Identifier: LGPL-2.1-only
@@
-20,7
+20,7
@@
source $TESTDIR/utils/utils.sh
function signal_cleanup ()
{
stop_lttng_sessiond
function signal_cleanup ()
{
stop_lttng_sessiond
- modprobe -
r
lttng-test
+ modprobe -
-remove
lttng-test
full_cleanup
}
full_cleanup
}
@@
-28,7
+28,7
@@
function clean_path ()
{
local trace_path=$1
set -u
{
local trace_path=$1
set -u
- rm -rf $trace_path
/*
+ rm -rf $trace_path
set +u
}
set +u
}
@@
-620,7
+620,7
@@
skip $isroot "Root access is needed. Skipping all kernel streaming tests." $NUM_
clean_path $TRACE_PATH
done
clean_path $TRACE_PATH
done
-
rmmod
lttng-test
+
modprobe --remove
lttng-test
stop_lttng_sessiond
stop_lttng_relayd
stop_lttng_sessiond
stop_lttng_relayd
This page took
0.026846 seconds
and
4
git commands to generate.