summaryrefslogtreecommitdiffstats
path: root/tests/sighook.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2025-02-07 12:55:29 -0500
committerTavian Barnes <tavianator@tavianator.com>2025-02-07 12:57:16 -0500
commitbfe349f90dccc4a4ea23e2fd0c8f5cd5d10f1fc1 (patch)
tree051c9c965ea2a2dd294535c19a6cb741f8b37bec /tests/sighook.c
parentdd5df1f8997550c5bf49205578027715b957bd01 (diff)
downloadbfs-bfe349f90dccc4a4ea23e2fd0c8f5cd5d10f1fc1.tar.xz
tests/color: Use /dev/tty over $TTY
$TTY is the actual TTY, e.g. /dev/pts/3, which may not be accessible by the current user. This can happen e.g. if the PTY is owned by root, who then does root@host# su user user@host$ ./tests/tests.sh ./tests/color.sh: line 81: /dev/pts/3: Permission denied
Diffstat (limited to 'tests/sighook.c')
0 files changed, 0 insertions, 0 deletions