tests: install: avoid failure on macOS

* tests/install/stdin.sh: Avoid failure on macOS for now.
In future we may support this feature on macOS as discussed at:
https://lists.gnu.org/r/coreutils/2026-06/msg00004.html
This commit is contained in:
Pádraig Brady committed 2026-09-08 19:11:27 +01:00
1 parent 4fc469f850
commit 8317648768
1 file changed
+2 -1
+2 -1
View File
@@ -28,7 +28,8 @@ test -r "$tty" 2>&1 \
# work around FreeBSD / macOS issue as discussed at:
# https://lists.gnu.org/r/coreutils/2026-06/msg00004.html
test $(stat -L -c%i /dev/stdin) = $(stat -L -c%i - </dev/stdin) ||
# TODO: Look at possibly supporting FreeBSD / macOS here.
test $(: | stat -L -c%i /dev/stdin - | uniq | wc -l) = 1 ||
skip_ '/dev/stdin inode correlation mismatch'
echo a >a || framework_failure_