fix __notify_tests_status to work in linux.