mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-18 12:33:38 +08:00
48 lines
852 B
Plaintext
48 lines
852 B
Plaintext
|
|
####################
|
|
# Read with no vars is not an error
|
|
|
|
####################
|
|
# 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
|
|
|
|
####################
|
|
# Verify correct behavior of subcommands and splitting of input.
|
|
|
|
####################
|
|
# 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 =
|