[PATCH v8 5/6] selftests/resctrl: Commonize the signal handler register/unregister for all tests