tests: invoke full_cleanup from script trap handlers, use modprobe -r
[lttng-tools.git] / tests / stress / test_multi_sessions_per_uid_10app
index 82e8ad505bbd4d9f789a5032afe8a0794389dcb7..c9f8403e13e5c961a7775c2d59442d2faa329bf3 100755 (executable)
@@ -112,11 +112,10 @@ function sighandler()
 {
        cleanup
        rm $LOG_FILE
-       exit 1
+       full_cleanup
 }
 
-trap sighandler SIGINT
-trap sighandler SIGTERM
+trap sighandler SIGINT SIGTERM
 
 # Make sure we collect a coredump if possible.
 ulimit -c unlimited
This page took 0.023472 seconds and 4 git commands to generate.