2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-29 13:23:33 +00:00
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