fish-shell/tests
Kevin Ballard 83df5ea660 Define a common mktemp for tests
GNU and BSD `mktemp` handle options differently, and it's a useful
utility for tests. As such, define a common `mktemp` function wrapper
for the test suite.

It might actually be nice to expand this for more flags and support it
globally, but that may result in confusion for any users of BSD mktemp
that expect to be running /bin/mktemp.
2014-11-24 01:51:07 -08:00
..
test_functions Define a common mktemp for tests 2014-11-24 01:51:07 -08: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 Define a common mktemp for tests 2014-11-24 01:51:07 -08: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
function.err Add new functions flag -V/--inherit-variable 2014-10-02 18:41:39 -07:00
function.in Add new functions flag -V/--inherit-variable 2014-10-02 18:41:39 -07:00
function.out Add new functions flag -V/--inherit-variable 2014-10-02 18:41:39 -07:00
function.status Add new functions flag -V/--inherit-variable 2014-10-02 18:41:39 -07:00
gen_output.fish Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00
generic.expect Allow U+F8FF to be typed 2014-09-21 21:03:44 -07:00
generic.expect.err Allow U+F8FF to be typed 2014-09-21 21:03:44 -07:00
generic.expect.out Allow U+F8FF to be typed 2014-09-21 21:03:44 -07:00
generic.expect.status Allow U+F8FF to be typed 2014-09-21 21:03:44 -07: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 Tweak test runner to set up environment better 2014-11-24 01:51:07 -08:00
interactive.expect.rc Try to fix the Travis test failures 2014-09-23 23:20:02 -07:00
interactive.fish Tweak test runner to set up environment better 2014-11-24 01:51:07 -08:00
printf.err Added test cases for printf builtin 2013-03-03 00:45:34 +05:30
printf.in Disable printf %a test since it has different output on FreeBSD 2014-11-02 00:27:52 -07:00
printf.out Disable printf %a test since it has different output on FreeBSD 2014-11-02 00:27:52 -07:00
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 Fix incorrect error on read with 1-character input 2014-09-21 20:00:26 -07:00
read.out Fix incorrect error on read with 1-character input 2014-09-21 20:00:26 -07:00
read.status read: Support arrays, character splitting 2014-07-14 00:46:38 -07:00
status.err Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00
status.in Base status -b off the parser execution stack 2014-09-30 20:58:45 -07:00
status.out Base status -b off the parser execution stack 2014-09-30 20:58:45 -07:00
status.status Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00
test.fish Tweak test runner to set up environment better 2014-11-24 01:51:07 -08: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 Change how arrays and environment variables interact. 2014-10-12 15:01:44 -07:00
test3.out Change how arrays and environment variables interact. 2014-10-12 15:01:44 -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 Rewrite fishscript testrunner for better output 2014-10-02 12:33:42 -07:00
test6.out Don't include child directories of $PATH in completions 2014-09-20 00:31:33 -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 Improve error reporting for unclosed blocks 2014-10-14 00:41:39 -07:00
test9.in BOM test should only run in UTF-8 locales 2014-11-02 00:14:16 -07:00
test9.out Allow # within string tokens 2014-11-01 21:06:16 -07:00
test9.status include fixes and suggestions from code review 2012-12-22 18:38:28 +01:00
test_util.fish Define a common mktemp for tests 2014-11-24 01:51:07 -08:00
top.out Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00