fish-shell/tests/vars_as_commands.in

9 lines
230 B
Fish
Raw Normal View History

# Test that using variables as command names work correctly.
# Both of these should generate errors about using variables as command names.
# Verify that the expected errors are written to stderr.
exec $test
exec "$test"
exit 0