diff options
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 1bbacc0e..56cceeb5 100644 --- a/tests/test3.in +++ b/tests/test3.in @@ -233,4 +233,8 @@ echo $testu echo Missing: $testu ../fish -c 'echo Missing: $testu' +# test SHLVL +# use a subshell to ensure a clean slate +env SHLVL= ../fish -c 'echo SHLVL: $SHLVL; ../fish -c \'echo SHLVL: $SHLVL\'' + true |