From: Mathieu Desnoyers Date: Thu, 16 May 2019 19:08:01 +0000 (-0400) Subject: tests: invoke full_cleanup from script trap handlers, use modprobe -r X-Git-Tag: v2.12.0-rc1~455 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=3be453c9ec6469235f0dc6cdaec9d55f0a6ee517;hp=3be453c9ec6469235f0dc6cdaec9d55f0a6ee517;p=lttng-tools.git tests: invoke full_cleanup from script trap handlers, use modprobe -r Scripts implementing their own trap handlers override the generic one provided by utils.sh (full_cleanup). Invoke it at the end of the handlers to provide the utils cleanup as well. Moreover, change use of "rmmod" to "modprobe -r", which is better in trap handlers because it does not print errors if the module was not loaded yet when the signal occurs. Signed-off-by: Mathieu Desnoyers Acked-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau ---