mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 13:11:15 -03:00
tests/read.expect: Skip /dev/stdin if it doesn't exist
Fixes a failing test on alpine/musl.
This commit is contained in:
@@ -110,7 +110,9 @@ send "def\n"
|
||||
expect "abc then def\r\n"
|
||||
expect_prompt
|
||||
|
||||
send "r2l </dev/stdin\n"
|
||||
# Some systems don't have /dev/stdin - effectively skip the test there.
|
||||
# I'd love to warn about it, but I don't know how.
|
||||
send "test -r /dev/stdin; and r2l </dev/stdin; or r2l\n"
|
||||
expect_read_prompt
|
||||
send "ghi\n"
|
||||
expect_read_prompt
|
||||
|
||||
Reference in New Issue
Block a user