2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-23 18:25:06 +00:00
fish-shell/tests/checks/env.fish

17 lines
208 B
Fish
Raw Normal View History

# RUN: %fish %s
function getenvs
env | string match FISH_ENV_TEST_\*
end
getenvs
# No output
set -x FISH_ENV_TEST_1 abc
getenvs
# CHECK: FISH_ENV_TEST_1=abc
set -e FISH_ENV_TEST_1
getenvs
# No output