Jung-uk Kim
b8aa271342
Fix message size tests for msgsnd(3) and msgrcv(3). msgsz is the length of
...
actual message and it should not include size of message type.
2006-11-16 19:51:10 +00:00
Benno Rice
262f6969de
Add the Transcend 2GB card specs.
2006-11-16 08:04:29 +00:00
Robert Watson
57c4583f70
Add a short regression test to try to exercise races in the non-atomic
...
nature of implied connect via sendto(). Oddly, uipc_usrreq.c implements
this for stream sockets, but doesn't set the flag in its protocol
definition so that it can actually be used. As such, the stream test is
implemented but doesn't run for now.
2006-11-15 12:43:45 +00:00
Maxim Konovalov
52fc06f0f2
o Indent by tab.
2006-11-11 18:45:20 +00:00
Maxim Konovalov
08a8d24059
o Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD).
...
Obtained from: OpenBSD
2006-11-11 18:32:50 +00:00
Bruce M Simpson
0eea0451fe
Update copyright date.
...
MFC after: 3 weeks
2006-11-09 11:45:44 +00:00
Bruce M Simpson
842259405d
Use C99 types.
...
MFC after: 3 weeks
2006-11-09 11:42:38 +00:00
Bruce M Simpson
6774121741
Rewrite the format of pirtool output to match what the kernel currently
...
prints out if bootverbose is set. This is to facilitate the code being
removed from the kernel at a later date.
While we're here, fix the __packed structures, and add some other
PCI interrupt router IDs.
Submitted by: jhb (with some tweaks)
MFC after: 3 weeks
2006-11-09 11:39:34 +00:00
Jung-uk Kim
c5f41de11c
Use z modifier for size_t and ssize_t.
2006-11-07 23:28:30 +00:00
Diomidis Spinellis
0dc97cf078
Add the examples from the manual page.
2006-11-06 15:05:03 +00:00
Diomidis Spinellis
3b5adecb00
Updated results for bin/68981
...
PR: bin/68981
2006-11-06 15:00:37 +00:00
Diomidis Spinellis
44d251df7a
Regress.out is now regress.x.out.
2006-11-06 08:49:43 +00:00
Diomidis Spinellis
2c75d9c7ba
Test the handling of supplied and default parameters.
2006-11-06 08:39:52 +00:00
Stefan Farfeleder
44c892dac2
Add regression tests for PR 105078.
2006-11-05 18:41:23 +00:00
Nick Hibma
1a82ee2eb9
Only use the filename part of the kernel configuration file as an argument to
...
KERNCONF after the file has been copied to the sys/${ARCH}/conf directory. This
allows the use of one kernel config file for multiple images. E.g.:
NANO_KERNEL=../../../../software/nanobsd/default/SOEKRIS
MFC: after 6.2
2006-11-02 20:43:20 +00:00
John Birrell
87d0f81ce7
Add a build option to support WITH_CDDL and WITHOUT_CDDL, defaulting
...
to WITH_CDDL.
This option enables building code that is licensed under Sun's CDDL.
The DTrace code is licensed that way, so by default it will get built
unless the WITHOUT_CDDL option is used.
There is another build toggle, NO_CTF, which turns off execution of
ctfconvert and ctfmerge in sys.mk, but this can't be implemented as
WITH_/WITHOUT because bsd.own.mk isn't included in all Makefiles and
sys.mk is included automatically by make.
2006-11-01 09:02:11 +00:00
Julian Elischer
e0558bb990
Reworking of how to add ports.
...
submitted by: Jean Milanez Melo
2006-11-01 01:25:51 +00:00
Pawel Jakub Dawidek
b9116fb333
Add fs_unrefs field to the super block structure.
...
Sponsored by: home.pl
2006-10-31 22:18:33 +00:00
Julian Elischer
d49da17b5e
Add configuration stubs for adding package derived files to the various
...
sample configurations.
Submitted by Jeremie Le Hen and tested by Jean Milanez Melo.
2006-10-30 19:50:01 +00:00
Julian Elischer
d12c591b20
Add some code to support including files ffrom packages in the image.
...
Submitted by: Jeremie Le Hen and tested by Jean Milanez Melo.
2006-10-30 19:47:05 +00:00
Julian Elischer
0f49c887b9
Might as well move to the right place if we are not there.
...
The whole question of how much to rely on teh sources being in /usr/src
needs visiting.
2006-10-11 21:46:53 +00:00
Julian Elischer
aca334fe83
let the user know what configurations are available when asking for it.
2006-10-11 21:39:19 +00:00
Maxim Konovalov
13fff3d67b
o Grammar.
...
Submitted by: kris
2006-10-09 06:47:08 +00:00
Maxim Konovalov
6bc39031ef
o Enable test-sparceaout test since alc@ has fixed the panic in rev. 1.229
...
sys/vm/vnode_pager.c.
cVS: ----------------------------------------------------------------------
2006-10-09 05:31:37 +00:00
Julian Elischer
b1a49547a0
Large rewrite of the tinybsd script.
...
This allows the user to specify that the root filoesystem should be
an MFS or teh actual medium itself.
Also a new command syntax, along with an interactive mode by default,
with crossinvocation memory of the last used values as defaults for the
current invocation.
Submitted by:jmeloatfreebsdbrasil,com-br
2006-10-04 22:16:40 +00:00
Ruslan Ermilov
6b4674389d
Revise markup.
2006-09-30 17:21:37 +00:00
Ruslan Ermilov
2e97500669
Removed libc_r build support.
2006-09-30 11:32:46 +00:00
Ruslan Ermilov
3b9de5ed0c
Initializate "offset" variable to zero; otherwise, if not using
...
the -o option, it might contain garbage.
MFC after: 1 day
2006-09-28 12:33:36 +00:00
Julian Elischer
8d2b600b3e
Slight tunups to the config files.
2006-09-21 22:17:04 +00:00
Julian Elischer
1474f88f74
In the spirit of nanoBSD and PicoBSD, add TinyBSD.
...
Submitted by jmeloatfreebsdbrasil,com-br
(Jean Milanez Melo)
As PicoBSD becomes slightly less useful, TinyBSD fills the gap below nanoBSD.
2006-09-20 22:24:20 +00:00
Pawel Jakub Dawidek
b58ab5f02a
Move readonly.t regression tests file to where it belongs.
...
I accidentally added it to a wrong directory.
2006-09-19 11:28:06 +00:00
Pawel Jakub Dawidek
0608d9863a
Add regression tests for 'geli configure' subcommand.
...
MFC after: 1 week
2006-09-16 10:44:33 +00:00
Pawel Jakub Dawidek
b88743e637
Regression tests for read-only option (attach -r).
...
MFC after: 1 week
2006-09-16 09:30:24 +00:00
Robert Watson
9fa5f6b4b9
dd a series of regression tests to validate that privilege requirements are
...
implemented properly for a number of kernel subsystems. In general, they
try to exercise the privilege first as the root user, then as a test user,
in order to determine when privilege is being checked.
Currently, these tests do not compare inside/outside jail, and probably
should be enhanced to do that.
Sponsored by: nCircle Network Security, Inc.
Obtained from: TrustedBSD Project
2006-09-13 09:05:39 +00:00
Ruslan Ermilov
aa5bab2179
Document the new know, WITHOUT_ASSERT_DEBUG.
2006-09-11 13:55:27 +00:00
Ruslan Ermilov
c1e29f712e
- Utilize the "showconfig" top-level target.
...
- Pass __MAKE_CONF=/dev/null to get a pristine output.
2006-09-11 13:39:44 +00:00
Robert Watson
ce105e8f5a
Enforce the compile-time threads limit at run-time, so that a high thread
...
count argument doesn't cause a segfault or memory corruption when the
compile-time array is overrun.
2006-09-02 08:25:40 +00:00
Poul-Henning Kamp
fd0232603d
Improve input parsing:
...
Add "-C <column>" and "-d <delims>" options to chop up input lines.
Make '#' a comment character, rest of line is ignored.
Submitted by: Dmitry Morozovsky <marck@rinet.ru>
2006-08-28 08:27:02 +00:00
Ruslan Ermilov
2b46c64c9c
Remove alpha left-overs.
2006-08-22 08:03:01 +00:00
Simon L. B. Nielsen
22eb0575f2
Move the setup of "diskless" /etc magic files from install_etc() to a
...
separate function which is called right after install_etc(). This makes
it simpler to (ab)use nanobsd.sh as a framework to build more normal
FreeBSD images where a normal /etc is used, since setup_nanobsd_etc()
can just be redefined.
OK'ed in principle by: phk
MFC after: 1 week
2006-08-15 21:59:33 +00:00
Sam Leffler
2f549d72a2
checkpoint new version
2006-08-10 19:01:16 +00:00
Giorgos Keramidas
bfbb8643cf
Fix some minor nits in the README file of wesside
...
Reviewed by: sam, Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-07 17:08:05 +00:00
Sam Leffler
c4aa5369ba
add wesside
2006-08-07 00:05:32 +00:00
Sam Leffler
b9d1573c05
another tool that uses the raw tx api
...
Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-07 00:05:04 +00:00
Sam Leffler
86bf2b45da
use proper tx series
...
Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-06 23:50:56 +00:00
Sam Leffler
a323dd4352
make it work after the api change
...
Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 18:21:04 +00:00
Sam Leffler
0c65897149
hook packet injection tools up
2006-08-05 05:20:40 +00:00
Sam Leffler
2137fdb5ec
test programs for 802.11 packet injection
...
Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 05:18:03 +00:00
Sam Leffler
7c37a38d03
802.11 packet injection test tool
...
Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 05:13:31 +00:00
Sam Leffler
b86de580a1
crude stumbler using raw packet api's
...
Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
2006-08-05 05:12:03 +00:00
Sam Leffler
3b8a5ed28a
raw tx stat
2006-08-05 05:09:20 +00:00
John Birrell
ffc48c2814
Fix for architectures where sizeof(void *) > sizeof(int).
2006-08-04 21:45:08 +00:00
Alexander Leidinger
69f1cb3c91
Fix build when .CURDIR != .OBJDIR.
...
Noticed by: "Alexander Mogilny" <sg@astral.ntu-kpi.kiev.ua>
2006-08-02 15:24:59 +00:00
Yaroslav Tykhiy
ed4ab6bbe9
Tell the bitter truth that WITHOUT_GNU and WITHOUT_PAM
...
don't have any effect now.
2006-07-31 13:53:27 +00:00
Yaroslav Tykhiy
f7ee05c00b
Document some more src.conf(5) options:
...
WITHOUT_GNU, WITHOUT_NS_CACHING, WITHOUT_PAM.
Noticed by: src/tools/build/options/makeman
2006-07-31 13:08:47 +00:00
Yaroslav Tykhiy
c3b08cc667
Actually skip over undocumented options with "continue"
...
to avoid artifacts in the manpage generated. Previously
an orphaned paragraph on dependencies of such an option
would appear.
2006-07-31 12:41:13 +00:00
Yaroslav Tykhiy
c3e63d569c
Extend the MK_INET6 section by rescue/ping6 and the manpages.
2006-07-29 06:29:07 +00:00
Simon L. B. Nielsen
6e0d070709
Add a test program which performs some very basic tests of libmp(3).
...
It is by no means expected to perform a complete test of the library
for correctness, but is meant to test the API to make sure libmp (or
libcrypto) updates don't totally break the library.
2006-07-28 16:00:59 +00:00
Thomas Quinot
42f470c0e5
'make distribution' must be run from src, not src/etc, so that the proper
...
set of /usr/share/mk/* is available. This is necessary to build a 7.x
NanoBSD image on a 6.x host.
Reviewed by: phk
2006-07-28 14:37:38 +00:00
Yaroslav Tykhiy
cd5297916c
Do not forget about INET6 and MK_INET6_SUPPORT.
2006-07-28 10:59:27 +00:00
Yaroslav Tykhiy
9da33b3565
Populate the MK_INET6 block.
2006-07-28 10:16:24 +00:00
Simon L. B. Nielsen
b78ee6d0ff
Add Memory Corp 512MB CF Flash.
...
MFC after: 3 days
2006-07-26 20:35:52 +00:00
Robert Watson
13496464e5
Add a test case for closing a UDPv6 socket that has been connected to
...
the IPv6 loopback address.
Warns ?= 2.
2006-07-19 12:54:14 +00:00
Robert Watson
9b498b31a9
Add very basic regression test for netinet6: create and close raw,
...
UDP, and TCP IPv6 sockets.
2006-07-19 12:10:33 +00:00
Marcel Moolenaar
f2f0337e84
Add regression tests of the emulation of the long branch conditional form.
...
These tests can obviously only be run on Merced processors, as they don't
implement the long branch.
2006-07-17 00:27:12 +00:00
Thomas Quinot
cf58ce8477
When creating the NanoBSD disk image, install boot blocks from the
...
newly-built world, in preference to those from the host system.
Reviewed by: phk
2006-07-15 20:41:38 +00:00
Poul-Henning Kamp
aa00f90024
Create the diskless magic files in /etc during the install_etc() step
...
instead of setup_nanobsd(), because this gives customize tasks a chance
to fiddle the details.
Inspired & tested by: Jordan Coleman <jordan@JordanColeman.com>
2006-07-13 14:06:09 +00:00
Maxim Konovalov
8847579c57
o style.Makefile(5): WARNS= -> WARNS?=.
2006-07-09 11:51:14 +00:00
Robert Watson
b0388d6b91
When extending a file with truncate, check that newly added bytes have
...
a value of 0 in the extended region.
Make sure that we get EINVAL back if we try to truncate a read-only
file descriptor.
2006-07-09 10:56:36 +00:00
Robert Watson
17d6f0e53b
Add regression tests to make sure that attempting to call ftruncate() on
...
various non-file objects fails.
2006-07-09 10:43:31 +00:00
Robert Watson
cead9b1c1c
Add very basic ftruncate() regression test, with a comment rather more
...
thorough than the tests regarding what should be tested.
2006-07-09 10:19:07 +00:00
Alexander Leidinger
75f8db2658
Add (missing) and remove (obsolete) .m files.
2006-07-08 12:32:42 +00:00
Sam Leffler
64db7ae46b
o fix join/rejoin format
...
o add netbsd portability glue
MFC after: 2 weeks
2006-06-30 19:06:18 +00:00
Sam Leffler
777134028a
dump new cabq stats
2006-06-23 18:48:44 +00:00
David E. O'Brien
48ecc1efc2
Fix type warnings on 64-bit machines.
2006-06-21 09:52:37 +00:00
Sam Leffler
866488d704
ipw statistics tool
2006-06-20 00:26:35 +00:00
Florent Thoumie
f60de18e42
Tweak mfc.pl to generate backout patchsets.
...
Approved by: cperciva (mentor)
2006-06-09 10:59:54 +00:00
Pawel Jakub Dawidek
8091e0f54b
Add regression tests for geli(8) authentication feature.
...
Supported by: Wheel Sp. z o.o. (http://www.wheel.pl )
2006-06-06 06:46:51 +00:00
Pawel Jakub Dawidek
43b48559c5
- Update regression tests after recent changes.
...
- Verify various sector sizes.
2006-06-06 06:44:19 +00:00
Pawel Jakub Dawidek
cb852b474a
Add regression tests for IPsec.
2006-06-04 22:06:17 +00:00
Maxim Konovalov
326c421e09
Output directory has gone, remove it from Makefile.
2006-05-31 11:22:15 +00:00
Maxim Konovalov
884fb9ccdd
Fix test for empty interpreter.
2006-05-31 11:15:16 +00:00
Maxim Konovalov
393e6ede9e
o Add various regression tests for execve(2) syscall.
...
Obtained from: NetBSD
2006-05-31 11:13:10 +00:00
Maxim Konovalov
fd447da171
o Let getopt(3) report errors in command line arguments.
...
o If something is wrong with options, then output short usage help message.
o Output errstr returned from strtonum(3).
PR: bin/98141
Submitted by: Andrey Simonenko
2006-05-31 08:10:34 +00:00
Matteo Riondato
89d500c6a8
Make recoverdisk compile on amd64 and possibly other 64bit archs.
...
Bump WARNS to 6.
PR: amd64/97566
Reviewed by: phk@
MFC after: 3 days
2006-05-30 19:10:18 +00:00
Dag-Erling Smørgrav
a7a8b22fbc
The tinderbox has moved to projcvs.
2006-05-30 14:31:09 +00:00
Maxim Konovalov
5368db2726
o Add a collection of regression tests for ancillary (control)
...
data passing for unix domain sockets, stream and datagram.
There are 15 tests:
Test/Type of socket STREAM DGRAM
----------------------------------------------------------------------
Sending, receiving cmsgcred 1 6
Receiving sockcred (listening socket has LOCAL_CREDS) 2 n/a
Receiving sockcred (accepted socket has LOCAL_CREDS) 3 n/a
Receiving sockcred n/a 7
Sending cmsgcred, receiving sockcred 4 8
Sending, receiving timestamp 5 9
Sending, receiving cmsgcred (no control data) 10 13
Sending cmsgcred, receiving sockcred (no control data) 11 14
Sending, receiving timestamp (no control data) 12 15
Currently we pass 8 tests. All the rest marked as TODO.
PR: kern/90800
Submitted by: Andrey Simonenko
2006-05-29 18:40:55 +00:00
Dag-Erling Smørgrav
618b1eec71
Add RELENG_5_5 to the 5.x lineup.
2006-05-29 14:51:52 +00:00
Maxim Konovalov
f1746dbc9c
o Test truncate(2) on fifo: it should ignore the request and
...
return success.
PR: kern/98064
Submitted by: Kirk Russell
2006-05-29 10:56:27 +00:00
Alexander Leidinger
39e2bd0bdb
Add a disclaimer regarding public/internal functions to every subsystem for
...
now.
Discussed on: cvs-all
Helped with the wording: "Ben Kaduk" <minimarmot@gmail.com>
2006-05-28 15:25:18 +00:00
Alexander Leidinger
ff4b8cb7bd
This is the kernel subsystem API documentation generation framework.
...
It uses doxygen to generate the API documentation. For each subsystem
a very small (about 20 lines with comments) subsystem specific Doxyfile
has to be written (have a look at the README for more). All common doxygen
options are specified in a separate file.
The framework is configured to not only generate the HTML version, but also
a PDF version (the paper size is hardcoded to DIN A4 currently and depending
on the subsystem you have to increase some limits in the latex configuration
of your system, the README tells more about this).
It also allows cross-references between the subsystems (it generates doxygen
tag files).
Currently the docs are generated in OBJDIR, but this may change after
coordination with doc@. The makefile is prepared to generate/move various
parts of the generated docs to different destinations.
TARGET_ARCH is respected and some env-vars are set for architecture specific
handling of the source (the README tells more).
Subsystems for which docs are generated:
- cam - crypto - dev_pci
- dev_sound - dev_usb - geom
- i4b - kern - libkern
- linux - net80211 - netgraph
- netinet - netinet6 - netipsec
- opencrypto - vm
Requested by: gnn
2006-05-26 18:06:07 +00:00
Robert Watson
64ccf56136
Use WARNS and rely on rules rather than an explicit target for the
...
test binary.
Reported by: maxim
2006-05-25 10:46:43 +00:00
Robert Watson
0fb57f87a3
Add a basic regression test for sendfile() over TCP, which sends varying
...
lengths of headers and data and makes sure it receives about the right
number of bytes.
2006-05-25 09:50:14 +00:00
Michael Reifenberger
8f0e86eb29
make cryptotest compile after the latest changes to cryptodev.h
2006-05-24 15:40:46 +00:00
Maxim Konovalov
66c14b21d3
o Correct comments: remove a reference to non-existent gdbinit.9 man page;
...
correct a path to the kernel build directory; gdb lost -k key.
Reviewed by: grog
MFC after: 1 week
2006-05-22 07:12:25 +00:00
Maxim Konovalov
90967a95ce
o Convert to Test::Harness testing infratructure.
2006-05-20 19:18:24 +00:00
Tom Rhodes
07b7d7fbdf
Switch value back to values.
...
Requested by: ru
2006-05-20 04:32:10 +00:00
Pawel Jakub Dawidek
502dff2382
Add missing stats.hst_nodesc statistics.
2006-05-18 13:22:44 +00:00
Poul-Henning Kamp
f6ce2a64f7
Send the pcvt(4) driver off to retirement.
2006-05-17 09:33:15 +00:00
Tom Rhodes
57caf3d61f
Some minor wording/description changes.
...
Reviewed by: ru (two months ago)
2006-05-16 18:59:00 +00:00
Maxim Konovalov
cd915ab751
o A tiny regression test exposes bug in rip_disconnect().
2006-05-14 22:03:00 +00:00
Bruce M Simpson
9b5b26f66f
Add multicast group join/leave functionality to IPv4 regression
...
test suite.
2006-05-14 14:11:54 +00:00
Maxim Sobolev
684e75f7c3
o Add an option allowing to start search from some offset instead of offset 0;
...
o mesure distance between UFS1 and UFS2 superblocks independently.
MFC after: 1 week
2006-05-13 20:23:06 +00:00
Dag-Erling Smørgrav
d54e67565d
Remove alpha from the HEAD lineup.
2006-05-13 08:25:31 +00:00
Dag-Erling Smørgrav
8a7c7f9cc3
Forgot to add RELENG_6_1 here as well.
2006-05-12 19:06:22 +00:00
Dag-Erling Smørgrav
f488d07edb
Add RELENG_6_1 to the lineup.
2006-05-10 17:51:39 +00:00
John-Mark Gurney
026526f6d1
add a diff line so you can check your commit before hitting enter...
2006-05-08 06:47:59 +00:00
Maxim Konovalov
fd64dc9a18
o Take an account a media sectorsize for medium and bigsize calculation.
...
o Introduce -r and -w keys which allow to load and save a worklist.
o Replace README by man page.
PR: bin/96677
Submitted by: Ulrich Spoerlein
Approved by: phk
MFC after: 1 month
2006-05-06 19:52:25 +00:00
Maxim Sobolev
8ea18ccf34
o Make it possible to compile find-sb on non-FreeBSD system (MacOS X in my
...
case). Can be useful for recovering in some cases;
o use SBLOCK_UFS2 instead of SBLOCK_UFS1 to calculate likely start of the UFS2
partition from the beginning of disk.
2006-05-05 00:19:24 +00:00
Poul-Henning Kamp
5f72b6ac80
Avoid coredumps if stddev cannot be computed (if all datapoints are identical)
...
Small cleanup of label printing.
2006-05-02 07:34:38 +00:00
Alexander Leidinger
1812f896e7
Add profile libs.
...
Submitted by: Pawel Worach <pawel.worach@gmail.com>
2006-05-01 11:15:45 +00:00
Pawel Jakub Dawidek
16bde23e84
For some time now, -i and -P options are mutually exclusive, there's even
...
a regression test init-i-P.t which asserts this, but it looks I forgot to
update nokey.t regression test.
MFC after: 1 day
2006-05-01 09:12:52 +00:00
David Malone
89ddbd45e5
Add some new options to mac_bsdestended. We can now match on:
...
subject: ranges of uid, ranges of gid, jail id
objects: ranges of uid, ranges of gid, filesystem,
object is suid, object is sgid, object matches subject uid/gid
object type
We can also negate individual conditions. The ruleset language is
a superset of the previous language, so old rules should continue
to work.
These changes require a change to the API between libugidfw and the
mac_bsdextended module. Add a version number, so we can tell if
we're running mismatched versions.
Update man pages to reflect changes, add extra test cases to
test_ugidfw.c and add a shell script that checks that the the
module seems to do what we expect.
Suggestions from: rwatson, trhodes
Reviewed by: trhodes
MFC after: 2 months
2006-04-23 17:06:18 +00:00
Ruslan Ermilov
327ecf6872
Fix an obvious bug.
...
Submitted by: Alex Lyashkov <umka@sevcity.net>
2006-04-18 12:37:44 +00:00
Ruslan Ermilov
80cd4b9e42
Implications are auto-generated.
2006-04-13 10:37:29 +00:00
Marcel Moolenaar
e717c486b3
MFp4:
...
o Add mount and umount actions so that partitions can be in use.
o Extend the testing of the add verb to include overlapping
partitions.
o Add tests for the remove verb. this includes tests to remove
a partition when in use (i.e. is mounted).
o Add a MD5 checksum to the output of the conf action so that
it can be tested. Make sure the MD5 doesn't vary based on
certain dynamic behaviour that is irrelevant to the output.
o Add MD5 checksums to the expected result of conf actions.
2006-04-10 04:13:44 +00:00
Marcel Moolenaar
728f00f8c9
MFp4:
...
Add support for read-write parameters. Allow an optional initializer
for read-write parameters. Print the value of those parameters on
success following the PASS.
2006-04-10 04:07:20 +00:00
Robert Watson
582954da16
Add a simple regression test that creates and tears down route sockets,
...
and confirms that only SOCK_RAW works with socket(), and nothing works
with socketpair().
2006-04-09 14:48:38 +00:00
Robert Watson
3d11b6c8f0
Add simple regression tests that creates UNIX domain sockets using
...
socket() and socketpair() of SOCK_STREAM and SOCK_DGRAM types. It
also confirms that SOCK_RAW fails.
2006-04-09 14:30:11 +00:00
Stefan Farfeleder
8af87209e3
Test that variable assignments preceding special built-ins affect the current
...
shell environment, eg after "VAR=val eval" VAR remains set. Currently fails
but will be implemented soon.
2006-04-09 09:38:29 +00:00
Dag-Erling Smørgrav
f39e7cc06d
Don't select a default value for $machine until after we've examined $arch.
...
Noticed by: mjacob
2006-04-07 15:19:19 +00:00
Alexander Leidinger
95529bcb14
Milosz (sorry for not using the right 'l', it will not display corretly
...
in the commit log) submitted support for some NO_* knobs for delete-old*
and check-old. I converted it to the new WITHOUT_* knobs (more correctly:
MK_*) and added some dummy ones so that people can see what's missing.
Volunteers can have a look at http://phk.freebsd.dk/misc/build_options/
for a list of files.
The location looks a little bit odd to me, but I don't care about the
color of this bikeshed and follow the suggestion of our build
infrastructure guru to place it "somewhere under src/tools/ please". [1]
The build/mk/ directory looks more sane to me than the other ones there.
Submitted by: milosz.galazka@gmail.com
Suggested by: ru [1]
2006-04-03 18:42:44 +00:00
Robert Watson
fc19db6c7b
Add a second pass to the close-before-accept test using a call to the
...
tcp drop sysctl. This should exercise the ECONNABORTED accept case.
2006-04-03 11:57:41 +00:00
Robert Watson
1b2c980983
Add regression test for tcpdrop sysctl.
2006-04-03 11:34:36 +00:00
Robert Watson
4f29da19bd
Add a regression test to exercise the case where accept() is called and
...
the next waiting socket has had a close on the remote endpoint already.
2006-04-03 10:08:35 +00:00
Stefan Farfeleder
b333fbe98d
Add test cases that check utility syntax errors and redirection errors. For
...
special built-in utilities they must terminate the shell, for other
utilities only a error message shall be written. We currently fail both
tests.
2006-04-02 19:02:49 +00:00
Robert Watson
876f7f842a
When running the second part of the test, kill off the server process from
...
the first part before starting, or the TCP port we want to bind may be in
use still. Sleep for a short period between tests.
Use SIGTERM instead of SIGKILL.
2006-04-02 11:09:37 +00:00
Robert Watson
dfe0ec64aa
Pass the right pid into the parent and child tasks so that when a test
...
fails, we kill the right partner process.
2006-04-02 11:03:05 +00:00
Robert Watson
8c4d74c408
Add makefile for tcpsocktimewait missed in previous commit.
2006-04-02 10:50:46 +00:00
Robert Watson
b4c2aeb1c4
Add a short regression test that triggers a TCP socket to enter time wait
...
while the socket is still open; one variant closes the socket while in
time wait, and a second lets time wait expire while the socket is open.
2006-04-02 00:07:38 +00:00
Poul-Henning Kamp
3586fcede9
Overlooked that src.conf was built from here.
2006-04-01 18:34:30 +00:00
Dag-Erling Smørgrav
1db30bb2dd
Reflect progress in process title.
2006-03-27 10:29:12 +00:00
Robert Watson
416c476c47
Add spxabort, a simple netipx/spx regression test that triggers
...
pru_abort() by closing a listen socket while completed connections are
presenting in its listen queue. Unfortunately, it's difficult to
trigger the other two pru_abort() cases using user APIs, so they are
not covered by this test.
2006-03-27 00:03:37 +00:00
Robert Watson
d70f997e49
Add simple regression test to ping pong a data packet over SPX in stream
...
mode. Support both connection via connect() and sendto(), but don't
compile in sendto() for now, since netipx doesn't appear to actually
implement that (doh).
2006-03-26 19:10:27 +00:00
Robert Watson
c0bb7e6a97
Add a simple IPX datagram regression test, which opens two IPX datagram
...
sockets, binds a local port, sends a datagram, and confirms that it is
received.
2006-03-26 18:25:53 +00:00
Robert Watson
8403b3d7cc
Add a short README with configuration hints to get the netipx regression
...
tests up and running. This is likely a message to myself in six months
when I've completely forgotten how.
2006-03-26 17:42:04 +00:00
Simon L. B. Nielsen
f4aac5a410
Use tr(1) to lowercase strings in a way which works with all locales.
...
Approved by: cperciva (mentor)
2006-03-26 17:17:10 +00:00
Robert Watson
94fdcc2ee8
Modify ipxsocket regression test to create and close sockets several
...
times, with variable length sleeps between socket() and close(). This
will help to ensure that IPX/SPX timers fire while the sockets are
open, and hence have PCB's on the IPX pcb list, so that if timers are
going to stumble over PCB types they don't expect, it will happen as
part of this test.
2006-03-26 15:49:35 +00:00
Robert Watson
f4cda13bed
Add simple ipxsocket regression test: open, and close, various IPX socket
...
types supported by the FreeBSD netipx implementation.
2006-03-26 01:58:39 +00:00
Poul-Henning Kamp
29ed18f45e
Get the MK_FOO column right
2006-03-25 21:51:46 +00:00
Poul-Henning Kamp
f5ce64b924
Update build survey scripts
2006-03-25 10:50:40 +00:00
Ruslan Ermilov
41c8ddc37f
Fix generation of '$FreeBSD$'.
2006-03-21 09:08:45 +00:00
Ruslan Ermilov
8644ea9e0a
Slightly better description.
2006-03-21 09:06:24 +00:00
Ruslan Ermilov
c5922fbf80
A tool to generate the src.conf(5) manpage.
2006-03-21 09:05:42 +00:00
Dag-Erling Smørgrav
e2ed8189e9
Open the lock file write-only.
2006-03-21 08:08:58 +00:00
Ruslan Ermilov
5990647d42
Prepare to autogenerate the src.conf(5) manpage.
2006-03-21 07:50:50 +00:00
Ruslan Ermilov
6f1a7c180c
Remove an outdated README.
2006-03-21 07:26:51 +00:00
Robert Watson
87569f75a9
Merge Perforce change 93572 from TrustedBSD audit3 branch:
...
Simple audit pipe ioctl regression test.
Obtained from: TrustedBSD Project
2006-03-19 15:47:53 +00:00
Robert Watson
f2c40a5119
Change s_net to s_node when printing the destination address.
2006-03-17 20:14:25 +00:00
Ruslan Ermilov
d1e9def254
NO_MAN is not needed here.
2006-03-16 15:18:17 +00:00
Ruslan Ermilov
6aebd02aa8
Style: NO_MAN doesn't need any value.
2006-03-15 10:46:38 +00:00
Poul-Henning Kamp
f6b9c5c2a9
In addition to -b (suppress builds) add -k (suppress kernel build) and
...
-w (suppress world).
2006-03-09 14:43:07 +00:00
Hajimu UMEMOTO
9bbad495a3
NOMAN --> NO_MAN
2006-03-07 14:26:17 +00:00
Wojciech A. Koszek
283e3098bb
Allocate proper amount of memory. Otherwise, we pass the end of a buffer,
...
thus having unpleasant warning. Was found by jemalloc redzone code.
Reviewed by: rwatson
Approved by: cognet (mentor)
2006-03-06 22:31:25 +00:00
Sam Leffler
f4ff12f3be
fixups
...
Submitted by: ru
MFC after: 3 days
2006-03-06 21:51:27 +00:00
Sam Leffler
c322e13c55
fix for non-i386/amd64 machines
...
Submitted by: marcel
MFC after: 3 days
2006-03-06 02:58:25 +00:00
Dag-Erling Smørgrav
c621d49b4d
Update copyright years and remove third clause.
2006-03-02 14:00:40 +00:00
Dag-Erling Smørgrav
63eaf3778d
Read site.rc after default.rc.
2006-03-02 13:58:04 +00:00
Dag-Erling Smørgrav
cf3d1b4df7
Ignore generated files.
2006-03-02 13:54:01 +00:00
Sam Leffler
6328732d02
when acpi does not explicitly enumerate lapic/cpu's there should
...
only be 1
Reviewed by: jhb
2006-02-28 17:48:33 +00:00
Wojciech A. Koszek
d2f4defee2
Fix the way in which median is calculated. If the data source has even
...
number of data points, value should be calculated by adding two middle
elements and dividing them by 2.
Approved by: cognet (mentor)
2006-02-23 20:46:10 +00:00
Sam Leffler
ed7b0743d7
test program to check cpu counting
...
MFC after: 1 week
2006-02-22 21:51:09 +00:00
Matthew N. Dodd
c153cdd1b8
Add option -w to specify graph width.
...
Use COLUMNS, terminal width for default graph width.
Reviewed by: rwatson
2006-02-22 04:10:20 +00:00
Robert Watson
49a5a25925
Add multi-process support to simple http micro-benchmark, now the default.
...
Use -t for thread support. Also added are -n to specify number of threads
or process, and -s to set the length of the test.
2006-02-22 02:54:43 +00:00
Robert Watson
ea8cc0217d
Add multi-process support to simple httpd micro-benchmark, which is now
...
the default. With -t, threads are used.
2006-02-22 02:54:04 +00:00
Pawel Jakub Dawidek
49fa8b70c6
Add regression test which verifies that options -P and -i cannot be used
...
together.
MFC after: 3 days
2006-02-12 02:07:56 +00:00
Dag-Erling Smørgrav
886c2d227c
Use -O2 on RELENG_6 as well
2006-02-03 10:55:00 +00:00
Pawel Jakub Dawidek
2867c5c8b0
Add regression tests which will verify that giving no key components for
...
init/attach/setkey subcommands is really impossible.
MFC after: 3 days
2006-02-01 15:17:45 +00:00
Pawel Jakub Dawidek
551fdafaf4
Add simple tests which verify that redzone(9) works properly.
2006-01-31 11:20:13 +00:00
Dag-Erling Smørgrav
5b5139a9da
Avoid triggering autovivification of %config entries, which would result in
...
an empty addenda section.
Handle kernel configs that lack a "machine" line by guessing at the location
of GENERIC (assuming that it is in the same directory as the config file)
2006-01-30 10:46:01 +00:00
Robert Watson
7f9f1e422f
Use $FreeBSD$ for the juggle version, rather than $P4$. This is good for
...
two reasons:
(1) juggle is now maintained in CVS, not P4, so the CVS revision number is
the authoritative one.
(2) Apparently $P4$ requires special handling and juggle was not marked
as needing it, resulting in problems for the P4 importer.
Requested by: gordon
2006-01-28 21:03:16 +00:00
Florent Thoumie
e4b6cbeda7
- Fix infinite loop in strip_log().
...
- Remove useless variable.
Submitted by: jkim
Approved by: jkim
2006-01-25 23:47:12 +00:00
David Xu
77efa49867
s/sigval/sival/g
2006-01-22 03:46:03 +00:00
Poul-Henning Kamp
84dd7338d4
Add two new variables:
...
# Size of the /etc ramdisk in 512 bytes sectors
NANO_RAM_ETCSIZE=10240
# Size of the /tmp+/var ramdisk in 512 bytes sectors
NANO_RAM_TMPVARSIZE=10240
And a last_orders() shell function which can be redefined to copy
finished images away, order peanuts or whatever else is appropriate
2006-01-17 08:33:53 +00:00
Florent Thoumie
0bd03d1e35
I missed a whitespace in the generated commit message.
...
Approved by: ssouhlal (implicit)
2006-01-15 01:01:46 +00:00
Florent Thoumie
d40c7ae437
Bump version.
...
Approved by: ssouhlal (implicit)
2006-01-13 20:43:00 +00:00
Florent Thoumie
b2e939b99d
Now with multi-commit support.
...
Use: `./mfc.pl -m "msg-id-1 msg-id-2" -i hurray'
or `./mfc.pl -f - -i yippee' and copy/paste two commit logs
Approved by: ssouhlal (implicit)
2006-01-13 20:41:04 +00:00
Florent Thoumie
72e8069dc7
- Fix issue when X-FreeBSD-CVS-Branch is not HEAD.
...
Submitted by: jkim
Approved by: jkim
2006-01-13 00:47:42 +00:00
Florent Thoumie
59d00daaff
Ok, I've created a test suite to avoid such regressions. Sorry for the noise.
...
Approved by: ssouhlal (implicit)
2006-01-11 16:51:21 +00:00
Florent Thoumie
6dd881af19
- Fix another bug, it seems sometimes mail is sent to cvs-all but not cvs-ports.
...
Approved by: ssouhlal (implicit)
2006-01-11 16:22:24 +00:00
Florent Thoumie
6acd437b62
- Fix search.
...
- Fix author matching.
Approved by: ssouhlal (implicit)
2006-01-11 16:00:38 +00:00
Florent Thoumie
9e28677ee3
- Remove netcat dependency by using fetch (not sure why i used nc
...
in the first place).
- Add some XXX lines as a TODO.
- Add a cvs diff command to the generated commit script.
- Add cdiff/colordiff to the list of optional dependencies.
- Fix a problem when giving the commit mail without the headers to
mfc.pl -f, it should now work correctly.
- Bump version.
Approved by: ssouhlal (implicit)
2006-01-11 02:53:54 +00:00
Florent Thoumie
217e76a9e3
- Add a new MFC script that takes a message-id, a commit mail or a query string and
...
generates a patchset along with a commit message and a commit script if the user has
commit rights.
- Add a README file to give a quick description of each script's purpose.
Approved by: netchild
2006-01-10 14:33:20 +00:00
Poul-Henning Kamp
1152ba39fe
Add missing ' and '
...
Submitted by: simon
2006-01-06 11:31:59 +00:00
Poul-Henning Kamp
c9dae3c0cc
Make this more readable and add more devices.
...
Partially from: mich@FreeBSD.org
2006-01-06 11:11:03 +00:00
Hartmut Brandt
154508976b
Add a new leaf to the net.link.generic.ifdata.%d sysctl to retrieve
...
the name and unit number assigned by the driver. This is needed by
SNMP to find interfaces after they have been renamed.
MFC after: 4 weeks
2006-01-04 12:57:09 +00:00
Tai-hwa Liang
1f3fbd6cba
Adding another multi-byte characters related regression test for recent
...
nmount(2) adoption.
2006-01-01 01:28:31 +00:00
Doug Rabson
c0b9f4fe65
Add a new extensible GSS-API layer which can support GSS-API plugins,
...
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.
Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
2005-12-29 14:40:22 +00:00
Robert Watson
4992df3ead
Add 'juggle', a simple IPC micro-benchmark that uses various IPC types to
...
perform varying number of small IPC operations. It runs using a single
process and one thread, a single process and two threads, and using
multiple processes. Critical to its performance measure are the cost and
frequency of context switches, locking overhead, and threading
performance. The benchmark generates .csv output appropriate for reading
into a spreadsheet to generate summary statistics and perform statistical
tests easily.
2005-12-28 12:42:12 +00:00
Scott Long
98f9589da1
Fix compiling on platforms with 64bit time_t.
2005-12-16 06:02:44 +00:00
Dag-Erling Smørgrav
fea562c089
Add a -c option to control caddr_t replacement (which was commented out in
...
the previous revision)
2005-12-13 22:21:46 +00:00
Sam Leffler
4ffa4230f0
fix include path
2005-12-13 22:15:09 +00:00
Sam Leffler
7613cbabe4
update
2005-12-13 22:13:41 +00:00
Sam Leffler
44301bc9d5
fix include pathnames
2005-12-13 22:12:16 +00:00
Dag-Erling Smørgrav
d44231a0ce
Add a script that converts K&R-style function definitions to ANSI style.
2005-12-13 22:09:50 +00:00
Dag-Erling Smørgrav
1cd4b9861a
Print user, system and real time upon exit.
2005-12-13 17:51:56 +00:00
Sam Leffler
f6a064998f
this didn't make it in the last commit
2005-12-11 23:15:24 +00:00
Sam Leffler
12f961f487
o move programs to separate directories and use stock Makefiles;
...
this simplifies including them in crunchgen images
o rename 80211* programs to wlan* as was originally intended
2005-12-11 23:13:54 +00:00
Sam Leffler
bbcd5573da
remove cts burst extension stats
2005-12-11 22:46:41 +00:00
Robert Watson
bade32af70
After printing per-cpu cache contents, summarize total cached items and
...
entries across the caches.
Fix an off-by-one error in counting caches.
2005-12-08 13:33:12 +00:00