• Bruno Haible's avatar
    Enhance tests for module 'isatty'. · 573631b2
    Bruno Haible authored
    * modules/isatty-tests (Depends-on): Add pipe-posix.
    * tests/test-isatty.c: Include <fcntl.h>.
    (DEV_NULL): New macro.
    (main): Test the resut of isatty() also on regular files, pipes, and
    /dev/null.
    573631b2