mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 11:22:52 +08:00
tests/read.expect: Skip /dev/stdin if it doesn't exist
Fixes a failing test on alpine/musl.
This commit is contained in:
parent
7afd7a1985
commit
ea6631641f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user