Don't read errno unless the syscall failed in mq_notify01 test