12cd13cd41
When prof_sys_thread_name is true, we don't allow setting the thread name. Teach the unit test this.
When prof_sys_thread_name is true, we don't allow setting the thread name. Teach the unit test this.