unable to un-buffer mock output on RHEL 8