* tests/misc/nohup.sh: Do not try to access /dev/tty if it does not exist. This happens on GNU Guix, for instance. --- tests/misc/nohup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/misc/nohup.sh b/tests/misc/nohup.sh index 6d2b515..e331eab 100755 --- a/tests/misc/nohup.sh +++ b/tests/misc/nohup.sh @@ -61,7 +61,7 @@ rm -f nohup.out err # Bug present through coreutils 8.0: failure to print advisory message # to stderr must be fatal. Requires stdout to be terminal. -if test -w /dev/full && test -c /dev/full; then +if test -w /dev/full && test -c /dev/full && test -f /dev/tty; then ( exec >/dev/tty test -t 1 || exit 0 -- 1.9.0
