mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00: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
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue