Verified that check_stdout sets sudo_rdy appropriately