freebsd-dev/tools/regression/bin/sh/builtins
Jilles Tjoelker 95787f5dc0 sh: Make the test for cd/pwd with long pathnames more useful:
* Use $(getconf PATH_MAX /) to make sure we actually exercise the hard part
* Delete our test area even if the test fails
2010-11-28 22:49:58 +00:00
..
alias.0 Update test for r190284. 2009-03-22 21:12:00 +00:00
alias.0.stdout Update test for r190284. 2009-03-22 21:12:00 +00:00
alias.1
alias.1.stderr
break1.0 sh: Fix break/continue/return sometimes not skipping the rest of dot script. 2010-08-15 21:06:53 +00:00
break2.0 sh: Add a test for break from a trap action. 2010-08-18 20:26:50 +00:00
break2.0.stdout sh: Add a test for break from a trap action. 2010-08-18 20:26:50 +00:00
break3.0 sh: Add a test for breaking from a loop outside the current function. 2010-08-22 11:04:30 +00:00
builtin1.0 sh: Send the "not found" message for builtin <cmd> to redirected fd 2. 2010-01-03 15:01:38 +00:00
case1.0 The exit status of a case statement where none of the patterns is matched 2007-10-04 16:14:48 +00:00
case2.0 Generate some tests for sh's case command from the fnmatch tests. 2010-05-09 16:15:40 +00:00
case3.0 Generate some tests for sh's case command from the fnmatch tests. 2010-05-09 16:15:40 +00:00
cd1.0 Correct regression test to not show a false positive when run as root. 2010-10-11 23:24:57 +00:00
cd2.0 sh: Make the test for cd/pwd with long pathnames more useful: 2010-11-28 22:49:58 +00:00
command1.0 Add test cases for the command built-in, including its -v and -V options which 2005-10-28 14:02:42 +00:00
command2.0 Add test cases for the command built-in, including its -v and -V options which 2005-10-28 14:02:42 +00:00
command3.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
command3.0.stdout Add test cases for the command built-in, including its -v and -V options which 2005-10-28 14:02:42 +00:00
command4.0 sh: Weaken builtins/command4 test to only require a nonzero exit status. 2010-08-29 20:53:24 +00:00
command5.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
command5.0.stdout Designate special builtins as such in command -V and type. 2009-06-24 22:04:04 +00:00
command6.0 sh: Get rid of unnecessary non-standard empty lists. 2010-08-16 17:18:08 +00:00
command6.0.stdout sh: Allow command -pv and command -pV (lookup using _PATH_STDPATH). 2009-12-31 16:13:33 +00:00
command7.0 sh: Allow command -pv and command -pV (lookup using _PATH_STDPATH). 2009-12-31 16:13:33 +00:00
command8.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
command9.0 sh: Make sure to popredir() even if a special builtin caused an error. 2010-03-06 17:09:22 +00:00
command10.0 sh: Make sure to popredir() even if a function caused an error. 2010-03-06 17:31:09 +00:00
command11.0 sh: Do not abort on a redirection error on a compound command. 2010-03-14 14:24:35 +00:00
dot1.0 sh: Add some simple tests for ., exec and return from . script. 2010-05-28 22:08:34 +00:00
dot2.0 sh: Recognize "--" in . and exec. 2010-05-28 22:40:24 +00:00
eval1.0 Add tests for r193169. 2009-05-31 17:23:27 +00:00
eval2.0 Add test for r190698. 2009-06-24 20:22:54 +00:00
eval3.0 Add some tests for a fixed bug in an uncommitted patch. 2009-08-27 22:23:23 +00:00
eval4.0 sh: Add a test for a corner case in eval that already works correctly. 2010-08-01 22:39:07 +00:00
eval5.0 sh: Return 0 from eval if no command was given. 2010-08-03 22:17:29 +00:00
exec1.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
exec2.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
fc1.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
fc2.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
getopts1.0 Embellish this testcase a little bit to be more clear what the output is 2010-10-14 23:28:31 +00:00
getopts1.0.stdout Embellish this testcase a little bit to be more clear what the output is 2010-10-14 23:28:31 +00:00
getopts2.0 Add a test for r182300. 2008-08-27 20:26:34 +00:00
getopts2.0.stdout Add a test for r182300. 2008-08-27 20:26:34 +00:00
hash1.0
hash1.0.stdout
hash2.0
hash2.0.stdout
hash3.0
hash3.0.stdout
lineno.0 Test the expansion of $LINENO. 2008-05-15 19:58:44 +00:00
lineno.0.stdout Test the expansion of $LINENO. 2008-05-15 19:58:44 +00:00
locale1.0 sh: Apply locale vars on builtins, recognize LC_MESSAGES as a locale var. 2010-05-05 21:48:40 +00:00
printf1.0 sh: Add simple tests for printf. 2010-11-05 21:47:58 +00:00
printf2.0 sh: Add simple tests for printf. 2010-11-05 21:47:58 +00:00
read1.0 Test the r190298 change. 2009-03-22 23:00:52 +00:00
read1.0.stdout Test the r190298 change. 2009-03-22 23:00:52 +00:00
read2.0 sh: Add a test that 'read' leaves the file pointer at the correct place. 2010-09-03 21:17:33 +00:00
read3.0 sh: Add simple tests for backslashes in the read builtin. 2010-09-08 18:32:23 +00:00
read3.0.stdout sh: Add simple tests for backslashes in the read builtin. 2010-09-08 18:32:23 +00:00
read4.0 sh: Fix 'read' if all chars before the first IFS char are backslash-escaped. 2010-09-08 20:35:43 +00:00
read4.0.stdout sh: Fix 'read' if all chars before the first IFS char are backslash-escaped. 2010-09-08 20:35:43 +00:00
return1.0
return2.1
return3.1
return4.0 sh: Add some simple tests for ., exec and return from . script. 2010-05-28 22:08:34 +00:00
return5.0 sh: Fix break/continue/return sometimes not skipping the rest of dot script. 2010-08-15 21:06:53 +00:00
return6.4 sh: Fix exit status if return is used within a loop condition. 2010-09-11 15:07:40 +00:00
return7.4 sh: Fix exit status if return is used within a loop condition. 2010-09-11 15:07:40 +00:00
trap1.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
trap2.0 Add tests for r194406 and r194516. 2009-06-19 22:15:59 +00:00
trap3.0 trap: do not consider a bad signal name a fatal error. 2009-11-21 20:44:34 +00:00
type1.0 Add regression tests for exec.c rev 1.30. 2007-01-11 00:25:20 +00:00
type1.0.stderr Update for 185401, errors now go to stderr. 2008-11-28 18:59:04 +00:00
type2.0 sh: Use PATH= assignment in type. 2009-12-31 17:44:24 +00:00
unalias.0
var-assign2.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
var-assign.0 Allow one to regression test 'sh' changes without having to install 2010-10-12 18:20:38 +00:00
wait1.0 sh: Add some simplistic tests for the wait builtin. 2010-05-23 22:10:20 +00:00
wait2.0 sh: Add some simplistic tests for the wait builtin. 2010-05-23 22:10:20 +00:00
wait3.0 sh: Add another simple test for the wait builtin. 2010-11-19 21:15:06 +00:00