fish-shell/tests
Kevin Ballard 940f264ee6 Decrement SHLVL when running exec
`exec` removes fish from the shell "stack", so SHLVL needs to be
decremented to match. This means `exec fish` will result in the same
SHLVL in the new fish instance.

Also tweak the SHLVL logic to interpret an environment SHLVL of "3foo"
as garbage instead of as the value "3".

Fixes #1693.
2014-09-19 17:38:54 -07:00
..
bind.expect Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
bind.expect.err Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
bind.expect.out Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
bind.expect.status Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
expansion.err Fix error span for invalid slice indexes 2014-08-21 01:10:07 -07:00
expansion.in Fix error span for invalid slice indexes 2014-08-21 01:10:07 -07:00
expansion.out Parse slices even for empty variables 2014-08-20 22:09:32 -07:00
expansion.status Fix double expansions ($$foo) 2014-08-20 21:45:07 -07:00
gen_output.fish remove trialing spaces #2 2010-09-18 10:18:26 +08:00
history_sample_bash Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
history_sample_corrupt1 Improve history robustness against corrupt files 2014-07-29 14:42:03 -07:00
history_sample_fish_1_x Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
history_sample_fish_2_0 Support for importing fish 1.x's history and format, and also bash 2012-06-15 16:24:05 -07:00
interactive.config Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
interactive.err Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
interactive.expect.rc Tweak interactive debug output 2014-09-19 16:22:37 -07:00
interactive.fish Tweak interactive debug output 2014-09-19 16:22:37 -07:00
interactive.out Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
interactive.status Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
printf.err Added test cases for printf builtin 2013-03-03 00:45:34 +05:30
printf.in Try to fix printf tests on Linux 2013-04-03 18:04:17 -07:00
printf.out Enabled test cases for unicode characters in printf builtin 2013-03-29 12:26:15 +05:30
printf.status Added test cases for printf builtin 2013-03-03 00:45:34 +05:30
read.err read: Support arrays, character splitting 2014-07-14 00:46:38 -07:00
read.expect Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.expect.err Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.expect.out Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.expect.status Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.in New -n option for read builtin 2014-09-03 22:48:37 -07:00
read.out New -n option for read builtin 2014-09-03 22:48:37 -07:00
read.status read: Support arrays, character splitting 2014-07-14 00:46:38 -07:00
test.fish Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
test1.err Add subdirectories 2005-09-20 23:31:55 +10:00
test1.in Teach while loops to not hang forever with no-execute 2014-07-11 11:28:10 -07:00
test1.out Teach while loops to not hang forever with no-execute 2014-07-11 11:28:10 -07:00
test1.status Add subdirectories 2005-09-20 23:31:55 +10:00
test2.err Add subdirectories 2005-09-20 23:31:55 +10:00
test2.in remove trialing spaces #2 2010-09-18 10:18:26 +08:00
test2.out Add subdirectories 2005-09-20 23:31:55 +10:00
test2.status Add subdirectories 2005-09-20 23:31:55 +10:00
test3.err Add subdirectories 2005-09-20 23:31:55 +10:00
test3.in Decrement SHLVL when running exec 2014-09-19 17:38:54 -07:00
test3.out Decrement SHLVL when running exec 2014-09-19 17:38:54 -07:00
test3.status Add subdirectories 2005-09-20 23:31:55 +10:00
test4.err Add subdirectories 2005-09-20 23:31:55 +10:00
test4.in Make subcommands modify $status, and make builtin_set not modify status unless it fails 2013-01-31 15:57:08 -08:00
test4.out Make subcommands modify $status, and make builtin_set not modify status unless it fails 2013-01-31 15:57:08 -08:00
test4.status Add subdirectories 2005-09-20 23:31:55 +10:00
test5.err Add subdirectories 2005-09-20 23:31:55 +10:00
test5.in Add subdirectories 2005-09-20 23:31:55 +10:00
test5.out Add subdirectories 2005-09-20 23:31:55 +10:00
test5.status Add subdirectories 2005-09-20 23:31:55 +10:00
test6.err Fix for https://github.com/ridiculousfish/fishfish/issues/2 2012-05-11 18:59:38 -07:00
test6.in Fix test output for complete -e tests 2014-09-02 15:52:56 -07:00
test6.out Add tests for the various complete -e changes 2014-09-02 15:30:58 -07:00
test6.status Fix for https://github.com/ridiculousfish/fishfish/issues/2 2012-05-11 18:59:38 -07:00
test7.err Add a test case for switch error code (issue #161) 2012-06-24 13:43:44 -07:00
test7.in Update tests for new type behavior 2014-07-13 19:11:29 -07:00
test7.out Finish rewriting detect_errors to use new parser. All tests now pass (!) 2013-12-12 18:18:07 -08:00
test7.status Add a test case for switch error code (issue #161) 2012-06-24 13:43:44 -07:00
test8.err Add variable expand ranges 2012-07-08 09:19:11 +08:00
test8.in Make if statements always return success at the end, matching other 2014-02-07 17:57:53 -08:00
test8.out Make if statements always return success at the end, matching other 2014-02-07 17:57:53 -08:00
test8.status Add variable expand ranges 2012-07-08 09:19:11 +08:00
test9.err include fixes and suggestions from code review 2012-12-22 18:38:28 +01:00
test9.in Set the job property of block_t before expanding arguments associated 2014-04-02 00:32:08 -07:00
test9.out Set the job property of block_t before expanding arguments associated 2014-04-02 00:32:08 -07:00
test9.status include fixes and suggestions from code review 2012-12-22 18:38:28 +01:00
top.err Teach fish how to push and pop blocks even in the face of no_exec. All tests finally pass. 2013-03-25 16:06:12 -07:00
top.out Merge pull request #1630 from kballard/expand_variables_in_quoted_strings 2014-08-23 16:13:25 -07:00
top.status don't parse the options that should be passed to fish scripts 2010-10-03 11:46:26 +08:00