[all-commits] [llvm/llvm-project] 707996: [libc] handle case where /dev/tty doesn't exist

michaelrj-google via All-commits all-commits at lists.llvm.org
Mon Oct 10 15:41:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 707996e486df11db0ff28695e75a2375db20030c
      https://github.com/llvm/llvm-project/commit/707996e486df11db0ff28695e75a2375db20030c
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-10-10 (Mon, 10 Oct 2022)

  Changed paths:
    M libc/test/src/unistd/isatty_test.cpp

  Log Message:
  -----------
  [libc] handle case where /dev/tty doesn't exist

In the isatty test it was assumed that /dev/tty existed, but that's not
always the case. Now we check for that.

Differential Revision: https://reviews.llvm.org/D135626




More information about the All-commits mailing list