Commit Graph

51 Commits

Author SHA1 Message Date
jmmv e5687c651f Fix typo in shell-bang line. Not really needed since the script is not
executable and the Makefile runs it explicitly through /bin/sh.
2007-07-15 09:23:53 +00:00
jmmv 4be5aa1d57 df now prints %Cap instead of Capacity in the header (unless -P is specified),
so adjust the output files accordingly.
2007-07-15 09:22:51 +00:00
apb 57d159b747 Add a test for the `true && ! true | false` bug
which dsl fixed in revision 1.65 of src/bin/sh/parser.c.
2007-06-08 11:03:47 +00:00
apb b233081ee5 Add tests for shell arithmetic. The new tests 4, 5, 6 all pass,
but the existing test 3 fails.
2007-03-25 06:37:01 +00:00
enami f1787e0a5d - Make -DINTREE works again.
- Compare test results with diff -w rather than cmp as we won't care about
  whitespace diffrences of df output.
2007-03-16 01:29:40 +00:00
dsl cbcdf48a7e Add a test for "$@" generating $# of 0 into a shell function. 2006-11-17 22:25:46 +00:00
rillig 9527a32b3d Added another test case and enabled it. 2006-11-09 12:17:35 +00:00
apb d9afa12b42 A field with a null custom heading retains a minimum width derived
from the default heading.  Add a test for this.  src/bin/ps/keywords.c
revision 1.47 failed this test, but revision 1.48 passes.
2006-10-02 19:18:30 +00:00
apb 524fe13df1 Add ps to SUBDIRS in regress/bin. 2006-10-02 17:59:45 +00:00
apb 6c7dcc02eb Add regression tests for bin/ps. At present, the only feature
tested is the selection of columns and headings, especially
via the -o option.
2006-10-02 17:59:00 +00:00
dsl 3c0e03d037 Add some more regression tests for stuff related to the recenty bugs.
Repeat after me 'run these tests before committing changes to /bin/sh source'.
2006-08-28 20:09:59 +00:00
dsl 1f9b387f1d Trailing non-whitespace IFS doesn't generate an empty parameter (any more). 2006-08-21 19:49:09 +00:00
jschauma 6af893ccbf allow each dir_to_dir test to be run individually without having to
rely on previous tests that set up the files and directories;
while here, clarify in each error message where exactly the error occurred
2006-08-15 23:01:22 +00:00
jschauma 2e841eed4b add a regression test for copying several subdirs into a target directory
where some subdirs already exist
2006-08-15 14:42:52 +00:00
jschauma ed7c19f867 Add a regression test for cp(1) to test simple copying of files, directories
links etc.
This currently does not test the flags -i, -f, and -v.  It also does not
test removal of setuid or setgid bits if the owner can't be changed, nor
does it check creation of device nodes etc.
2006-07-16 16:26:10 +00:00
rillig cbe8405661 Added another regression test which is currently commented out, since it
is not yet fixed.
2006-05-12 00:05:59 +00:00
yamt fb2455c6ae uncomment set_e.sh. 2005-12-10 14:22:17 +00:00
yamt 80216c60c5 test pipe. 2005-04-02 06:09:45 +00:00
yamt c2cfe0883b test function as well. 2005-04-02 05:43:29 +00:00
yamt e81eb82eaa add a test for "set -e". related to PR/17514.
commented out in Makefile because i'm not sure
what's a correct behaviour.
2005-03-31 08:52:49 +00:00
enami 2bc2b5dfdf Add test case from PR#23600. 2004-07-27 01:50:35 +00:00
enami 9208b0c287 Add test case for df.c rev. 1.66. 2004-07-17 00:31:38 +00:00
enami a5c4e6ac1e Descend into bin/df 2004-07-07 01:58:16 +00:00
enami 7f914da132 - Update to follow statvfs change.
- Add expected results.
2004-07-07 01:57:35 +00:00
dsl 3cf5992cc1 Some tests for 'here documents' 2004-06-27 10:31:06 +00:00
dsl 5751125024 Regression test for ${x-a b c} and friends 2004-06-26 22:11:49 +00:00
christos 9a3ad93492 Add regression tests for pax/tar append archive mode. 2004-04-17 15:27:01 +00:00
enami 98d430f3dc Add some test case for recently found bugs. 2004-03-26 14:53:39 +00:00
dbj 15459da491 revert revision 1.2, which was accidentally committed 2004-01-17 05:48:37 +00:00
dbj 378c93dfc4 add regression test to check combination of bs and conv options
this checks for a bug fixed in revision 1.24 of src/bin/dd/args.c
2004-01-17 05:47:28 +00:00
dsainty 4c758a9f41 Descend into bin/dd 2003-11-15 10:50:59 +00:00
dsainty 9adae06087 Regression tests for dd(1). Not currently comprehensive, but tests for the bug reported in PR bin/8521. 2003-11-15 10:48:53 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
simonb f34da8442c Add a regression test for testing that here documents don't confuse the
exit status of the previous command ($?).  Fixed long ago on -current,
but forgot to commit this test...
2003-09-13 09:35:56 +00:00
provos acfe26ec02 add systrace 2003-03-26 04:15:35 +00:00
provos 76df85d406 very simple regression test for systrace; okay atatat@ 2003-03-26 04:14:16 +00:00
christos f1158a3072 new regression test. 2002-02-14 21:58:27 +00:00
christos 56fb31996d And fix the Makefile 2002-02-12 20:39:27 +00:00
christos acb4381e27 Add a more thorough quoting test. 2002-02-12 20:38:42 +00:00
christos bd1ab585ef Add a more thorough quoting test. 2002-02-12 20:38:40 +00:00
simonb c8c0ad6621 Add the 'sh' directory. 2002-02-12 06:01:49 +00:00
simonb 971aaea197 Add a regression test for sh, from Enami Tsugutomo.
XXX: This test suite is _way_ too short.
2002-02-12 06:00:48 +00:00
tv 220b5c059a MKfoo=no -> NOfoo 2001-12-12 01:23:59 +00:00
jmc 1cf95850b2 Add a better description for calling test_expr 2001-05-06 06:26:56 +00:00
jmc d47e5c9394 Add a slew of overflow cases around the corner conditions 2001-05-06 06:18:36 +00:00
jmc 1f64ac01a4 Add some test cases for overflow detection on +- ops 2001-05-05 19:21:40 +00:00
jmc d185860cbb Added 1 * -1 test. 2001-05-05 15:48:44 +00:00
jmc 9a7530f23a Redo to call external test script 2001-05-05 06:52:57 +00:00
jmc f5e59e5bed Add a suite of expr tests.
The main goal here is to test all the operators and precedence.
Also throw in any known failure cases from the past.
2001-05-05 06:52:40 +00:00
jdolecek efba0ca36a descend into bin/expr 2000-10-26 23:32:59 +00:00