* Revert "Fix intermittent test crash (#6268)" This reverts commit 555d9ee763. * make a working version again * try second impl * add * fmt * check stdin is atty before acquire stdin * add libc * clean comment * fix typo
555d9ee763