Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: test-ttyname{,_r}: ensure tested fd is tty
Fixes: $ make test 2>&1 | tee logs (...) env LD_PRELOAD=/home/gportay/src/iamroot/x86_64/libiamroot-linux-x86-64.so.2:/home/gportay/src/iamroot/tests/rootfs/usr/lib64/libc.so.6:/home/gportay/src/iamroot/tests/rootfs/usr/lib64/libdl.so.2:/home/gportay/src/iamroot/tests/rootfs/usr/lib64/libpthread.so.0 PATH=/home/gportay/src/iamroot/tests/rootfs/usr/bin test-ttyname 1 ttyname: Inappropriate ioctl for device
- Loading branch information