Commit Graph

453 Commits

Author SHA1 Message Date
christos 7fc7897d31 need <sys/stat.h> 2017-01-10 22:37:44 +00:00
mrg 2cd592865a remove obsolete lkm tests 2016-12-29 23:36:06 +00:00
kamil d054022201 Purge dummy Makefiles 2016-11-24 04:20:10 +00:00
maxv f35bb9540d Fix the mmap call, KNF, and make the output more readable. 2016-09-03 08:47:38 +00:00
joerg e577c74411 Since the i386-specific DES assembly is not PIC, don't build this as PIE. 2016-08-14 19:05:24 +00:00
christos b8fa0d5200 PR/50941: David Binderman: fix printf format 2016-03-11 18:26:40 +00:00
christos bac8521a43 moved to tests/net/in_cksum. 2015-01-05 22:39:29 +00:00
joerg 8045251dd7 Replace manual realdepend dependency with DPSRCS. 2014-09-19 21:35:42 +00:00
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
christos b3bbae0374 Fix NOMAN 2014-01-10 15:52:25 +00:00
martin 6f65a8d103 ACTIVE_CC can only be used after include of bsd.own.mk 2014-01-10 15:00:16 +00:00
pgoyette b05ea33883 The sleeping test has been converted to ATF 2012-11-08 03:16:04 +00:00
pgoyette ec3837a095 This functionality is tested in tests/fs/vfs/t_io 2012-11-07 17:14:02 +00:00
pgoyette de60af8cf6 sigtramp has been incorporated into ATF test lib/libc/sys/t_sigaction 2012-11-07 16:52:01 +00:00
pgoyette 54841f4686 The lockf/lockf2 tests are now converted to ATF 2012-11-07 14:04:28 +00:00
pgoyette a056b20854 The SysV IPC tests have been converted to atf 2012-11-05 04:11:44 +00:00
pgoyette c7bda8e080 The mqueue test has been atf-ified 2012-11-03 05:22:24 +00:00
chs c79ddfbf3d our current gcc puts the loop after the RAS_END() label on several
platforms, adjust the code so that gcc does the right thing again.
2012-11-02 14:53:03 +00:00
joerg b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
riz f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00
darrenr 9c0e9659f2 Import IPFilter 5.1.1 2012-01-30 16:02:57 +00:00
yamt 6f39b50ccf - count the number of bits correctly
- more check
- tweak numbers
- use more accurate time
2011-11-02 16:49:12 +00:00
pgoyette ccb4fdff6f ether_aton test has been atf-ified 2011-11-01 23:07:34 +00:00
christos 531a87f792 Test all digits. 2011-11-01 13:59:00 +00:00
ws ad730b8b4f Replace ed usage with awk script.
Fixes PR toolchain/45532, generating the exact same output as previously.
Note that it doesn't address Tsutsui's additional check request.
2011-11-01 12:52:28 +00:00
mbalmer e1d181bb1e Fix typo in output. 2011-10-17 16:39:15 +00:00
christos dd0d75f09d provide the out of address space test in a gcc-4.5 friendly way. 2011-08-18 02:32:32 +00:00
reinoud b1e03acdd3 Fix missing comma in errx() in normally not compiled code. 2011-08-16 13:15:04 +00:00
jruoho 943257c643 Move the uvm "loan" test to tests(7). 2011-07-14 11:08:44 +00:00
jruoho 418b5c73fe Remove "mmap" subdir. 2011-07-14 10:27:36 +00:00
jruoho de255ab49d ../regress/sys/uvm/mmap/mmap.c is now part of tests(7). 2011-07-14 08:12:20 +00:00
mrg c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
mrg 75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg 4186c35cbd Fix format string 2011-05-24 16:11:08 +00:00
joerg 65b332fa1f Use proper format string 2011-05-24 16:04:14 +00:00
joerg eafadea975 Require GCC for compilation 2011-05-20 13:36:12 +00:00
mellon 0647473106 Include err.h and unistd.h to provide protos for err() and getpid(). 2011-05-18 19:45:05 +00:00
mellon b519b2e283 Include err.h to provide prototype for err(). 2011-05-18 19:44:18 +00:00
tsutsui 35020d6832 WARNSfy 2011-05-18 18:41:59 +00:00
christos 2bf6f45a6d fix prototypes. 2011-05-16 21:51:31 +00:00
christos 51c60bdd41 use err instead of printf, fix missing prototypes. 2011-05-16 12:43:59 +00:00
christos b139bf30af Turn on WARNS to 4, so that magically -std=gnu99 gets turned on and fix
the few warnings. Since the kernel uses c99, this makes kernel code that
uses c99 features compile.
2011-05-14 16:26:23 +00:00
joerg 526fbdff1c Kill a redundant lvalue cast in assembler constrained. 2011-03-18 03:06:21 +00:00
joerg 8e2b771d40 Use ${HOST_SH} 2010-12-20 16:13:44 +00:00
rmind f72965d18d Don't overrun the buffer, when writing some payload. 2010-10-03 19:41:25 +00:00
rmind 29dd668442 Add a regression test for IPv4 reassembly. Cases:
- Normal (valid) fragments.
- Fragment with ip_off + hlen lower than IP_MINFRAGSIZE - 1.
- Different ip_tos values in fragments.
- Fragment data length which is not multiple of 8 bytes.
- Duplicate fragments (one covering previous).
- Packet larger than IP_MAXPACKET after reassembly.
- No last non-MF fragment (causing of timeout).
2010-07-13 22:13:18 +00:00
mrg 4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
christos 95aad9cc1b verify hex digits. 2010-05-19 21:59:34 +00:00
christos f65592ae19 regression test for ether_aton_r() 2010-05-19 21:55:35 +00:00