mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 17:55:50 +08:00
5786f9e5c3
This reverts commit 1c9370dbd2
.
46 lines
804 B
Plaintext
46 lines
804 B
Plaintext
|
|
####################
|
|
# Read with no vars is an error
|
|
read: Expected at least 1 args, got only 0
|
|
|
|
####################
|
|
# Read with -a and anything other than exactly on var name is an error
|
|
read: Expected 1 args, got 0
|
|
read: Expected 1 args, got 2
|
|
|
|
####################
|
|
# Test splitting input
|
|
|
|
####################
|
|
# Test splitting input with IFS empty
|
|
|
|
####################
|
|
# read -n tests
|
|
|
|
####################
|
|
# read -z tests
|
|
|
|
####################
|
|
# Chunked read tests
|
|
|
|
####################
|
|
# Confirm reading non-interactively works -- #4206 regression
|
|
|
|
####################
|
|
# Test --delimiter (and $IFS, for now)
|
|
|
|
####################
|
|
# Delimiter =
|
|
|
|
####################
|
|
# Delimiter empty
|
|
|
|
####################
|
|
# IFS empty string
|
|
|
|
####################
|
|
# IFS unset
|
|
|
|
####################
|
|
# Delimiter =
|