tests: invoke full_cleanup from script trap handlers, use modprobe -r
[lttng-tools.git] / tests / stress / test_multi_sessions_per_uid_5app_streaming_kill_relayd
index c699ac226d54ac8c486b977b4dab5edd5c8d3c89..d0121e32e429df5e05a691b7df00425e2d867eae 100755 (executable)
@@ -144,11 +144,10 @@ function sighandler()
 {
        cleanup
        #rm $LOG_FILE_SESSIOND $LOG_FILE_RELAYD
-       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.032993 seconds and 5 git commands to generate.