diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-10-08 09:51:49 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2014-10-08 09:53:29 +0800 |
commit | 14724401ff82eeb569df8b9b291b4670e80c35d8 (patch) | |
tree | 88e40420dc8a07138b9ea5ae50053b2e6d79e789 /tests/test3.in | |
parent | 72f5ab3186b5e8baa246a90e6012feb9e2e10e6a (diff) |
env.cpp: correctly check variable_can_be_array
Closes #1746.
Diffstat (limited to 'tests/test3.in')
-rw-r--r-- | tests/test3.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test3.in b/tests/test3.in index b83b69c0..816e94ec 100644 --- a/tests/test3.in +++ b/tests/test3.in @@ -244,4 +244,8 @@ env SHLVL=3foo ../fish -c 'echo SHLVL: $SHLVL' env SHLVL="3 " ../fish -c 'echo SHLVL: $SHLVL' env SHLVL=" 3" ../fish -c 'echo SHLVL: $SHLVL' +# Test transformation of inherited variables +env DISPLAY="localhost:0.0" ../fish -c 'echo Elements in DISPLAY: (count $DISPLAY)' +env PATH="/bin:/sbin:/usr/bin:/usr/sbin" ../fish -c 'echo Elements in PATH: (count $PATH)' + true |