mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
47 lines
852 B
Text
47 lines
852 B
Text
|
|
####################
|
|
# 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 =
|