Commit Graph

977 Commits

Author SHA1 Message Date
jmmv 9b435895e8 Fix duplicate year in copyright notice. 2007-07-24 11:29:16 +00:00
jmmv 12f24779d1 Add some more tests to ensure that renaming a file to a directory and a
directory to a file fails with the appropriate error codes.  tmpfs still
fails these tests, but the fix is almost ready to go in.
2007-07-23 15:05:43 +00:00
jmmv e92cf7fb11 Add test cases to ensure that:
1) Renaming a directory to an empty directory works by replacing the target
   directory.
2) Renaming a directory to a non-empty directory fails.
This is all by calling rename(2) directly, not mv(1).

tmpfs currently fails those tests, raising an assertion if DIAGNOSTIC is
enabled.  A fix will hopefully follow soon.

Found by pooka@.
2007-07-23 12:51:35 +00:00
joerg 306d03018d A regression test is much more useful, if it passes itself on correct
input.
2007-07-16 19:04:18 +00:00
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
ginsbach 15b661abe9 Fix several end cases:
o If a long option looks like an ambiguous abbreviation of two or more long
  options, but all the possible interpretations would return the same
  value, then just return that value without complaining that it's
  ambiguous.

o If a long option could be interpreted either as an exact match for one
  long option, or as an abbreviation for one or more other long options,
  then treat it as the exact match.

These changes align NetBSD's getopt_long(3) with the current behavior of
GNU getopt_long(3), the de facto standard, and FreeBSD's getopt_long(3).
2007-07-05 16:05:40 +00:00
ginsbach 67a9c3250c Remove debugging code accidently left in the original commit. This should
make the test a bit less verbose.
2007-06-19 20:44:28 +00:00
martin c77a3f5aad Upgraded IPFilter to v4.1.23 2007-06-16 10:52:24 +00:00
martin 03f2531d69 Import IPFilter 4.1.23 2007-06-16 10:33:08 +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
he 71da552ff1 If HAS_SSP == "no", don't descend into the ssp subdirectory, because
building there will fail.
2007-06-02 11:09:22 +00:00
martin e26aa3fe3e backout previous - needs more investigation 2007-06-01 17:15:19 +00:00
martin 0b39ba0208 This LDFLAGS setting looks like a copy&pasto 2007-06-01 16:54:11 +00:00
christos be230fb632 moved to libc/ssp 2007-05-31 21:52:31 +00:00
christos 5d8aa4c7a5 ssp is now part of libc. 2007-05-31 21:51:48 +00:00
darrenr fade943a7f The wrong condition was being tested for when deciding which fields to
update in ICMP error messages.  In the test case for this, the wrong
input was actually being used (it should be the headers from the previous
packet output) and therefore the expected results were also wildly wrong.

kern/36309
2007-05-31 10:33:54 +00:00
tls ac86b16c1e disable libssp regress until Christos fixes it 2007-05-30 19:49:49 +00:00
he 0dd2f4778a Descending into ld.elf_so only makes sense if ${MKPIC} != "no".
Fixes build for sun2.
2007-05-23 09:39:53 +00:00
dogcow 980bf56bd3 fallout from si_sigval -> si_value 2007-05-21 20:18:01 +00:00
christos 81ef0c79d1 s/si_sigval/si_value/ From Blair Sadewitz. 2007-05-21 20:02:40 +00:00
christos 21135a4e5e Add .WAIT and shlib_version. From Kurt Schreiner 2007-05-20 16:14:59 +00:00
christos 99535082df More makefile fixes 2007-05-19 20:52:03 +00:00
christos a118ee6dde use MKMAN=no 2007-05-19 15:39:01 +00:00
christos 1f70ed77a6 use MKMAN=no, ad CVSID, from Kurt Schreiner 2007-05-19 15:38:06 +00:00
christos d4ba6c5809 tests for $ORIGIN 2007-05-18 21:41:38 +00:00
christos 497d3aa994 Regression test for RTLD expansion code. 2007-05-18 20:28:11 +00:00
martin 29fd0d9db1 Import IPFilter 4.1.22 2007-05-15 22:26:02 +00:00
martti 1a4bf0c822 Better dependency handling for the ip2 test. 2007-05-07 07:06:30 +00:00
martti 159aa98c97 Better handling of ip2 test. 2007-05-02 14:30:08 +00:00
martti 26008496a4 Make this work with object directories as well. 2007-05-02 11:35:28 +00:00
martti 2c5f81ca65 Activate ni23 2007-05-01 19:26:45 +00:00
martti 872147fef7 Upgraded IPFilter to 4.1.20 2007-05-01 19:08:03 +00:00
martti 68eb121d73 Import IPFilter 4.1.20 2007-05-01 19:00:58 +00:00
martin 6b0c4dc5ed Disable test ni23 - the expected output contains the hash bucket number,
which, at least, is endian dependend.
2007-04-14 20:50:48 +00:00
martin 8ebafcc992 Update IPFilter to version 4.1.19 2007-04-14 20:34:18 +00:00
martin 993d757ec6 Import IPFilter 4.1.19 2007-04-14 20:17:19 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +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
enami d4d6c3ff03 Rephrase the comment slightly to note that which revision of
humanize_number.c fails to handle these cases.
2007-03-13 02:56:18 +00:00
enami 1e59139e04 Make -DINTREE (a flag to tell make(1) to build the test program
with using in tree humanize_number.c) works again.
2007-03-12 03:39:57 +00:00
enami 1a453a687f Add failure case reported by Greg Troxel. 2007-03-12 03:38:21 +00:00
pooka 69011e122a test that write to middle of file doesn't modify size 2007-03-11 10:09:17 +00:00
drochner 89d741cf50 initialize line counter for fparseln() 2007-03-07 15:13:50 +00:00
yamt 38b7dcdca4 a test for priority inheritance. 2007-02-25 09:52:47 +00:00
yamt ad0768d11e - fix "make obj && make".
- add "NOMAN=".
2007-02-24 15:25:23 +00:00
rmind b2eedf1afb Add regression tests for sdiff(1).
From OpenBSD.
2007-02-19 19:42:50 +00:00
cube 329aa49851 Don't try cleaning what is now a source file. [hi hubertf!] 2007-02-19 11:15:47 +00:00
hubertf 1f32eee360 Don't generate input on the fly (the utf8 version is created from the
latin1 version using iconv). Make sure all files are cleaned up.
2007-02-17 18:30:29 +00:00