summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add a test case for sed(1) regression - we should not ignore casedelphij2007-07-062-0/+5
| | | | | | when not being asked to do so. Approved by: re (hrs)
* Add case-insensitive matching to sed, using the 'I' flag, similarly to GNU sed.ssouhlal2007-07-043-0/+10
| | | | | | | | | For example, sed /foo/Id sed s/foo/bar/Ig Reviewed by: dds Approved by: re (hrs)
* Significantly reduce the memory leak as noted in BUGS section forscf2007-07-048-0/+702
| | | | | | | | | | | | | | | | | | | | | | | | | | setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith)
* Remove wicontrol(8) from the base system. Using wicontrol to configure anthompsa2007-07-014-4/+0
| | | | | | | interface has been deprecated since 5.1, wi(4) wireless interfaces are managed via the net80211 stack and ifconfig. Approved by: re (rwatson)
* Neterion Xframe 10GbE Server/Storage adapter driver.sam2007-06-297-0/+3518
| | | | | | | | | | | The nxge driver provides support for Neterion Xframe-I and Xframe-II adapters. The driver supports TCP Segmentation Offload (TSO/LSO), Jumbo frames (5 buffer mode), Header separation (2 and 3 Receive buffer modes), VLAN, and Promiscuous mode. Submitted by: Neterion Reviewed by: rwatson Approved by: re (kensmith)
* Fix a obsecure coredump while testing with tmpfs on amd64.delphij2007-06-261-2/+6
| | | | Approved by: re (kensmith)
* id generation is now handled by uma(9) subsystem,delphij2007-06-252-76/+0
| | | | | | | so remove the (now) irrevelent test case. Requested by: Howard Su Approved by: re (tmpfs blanket)
* - Remove UMAP filesystem. It was disconnected from build three years ago,rafan2007-06-257-7/+0
| | | | | | | and it is seriously broken. Discussed on: freebsd-arch@ Approved by: re (mux)
* - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed.bushman2007-06-242-73/+162
| | | | | | | Tests for getipnodebyXXX functions now cover most number of flags combinations. Approved by: re (kensmith), brooks (mentor)
* MFp4: Add regression tests for tmpfs.delphij2007-06-1626-0/+2521
| | | | | Obtained from: NetBSD via p4 Submitted by: Howard Su
* Make the order of tests the same for user and kernel. Use the naturalharti2007-06-141-1/+1
| | | | layer order from bottom to top.
* Options spring cleanup:sepotvin2007-06-132-0/+9
| | | | | | | | | | - Add and document the KVM and KVM_SUPPORT options that are needed for the ifmcstats(3) makefile - Garbage collect unused variables - Add missing inclusion of bsd.own.mk where needed Approved by: kan (mentor) Reviewed by: ru
* Recoverdisk is now part of the base system.phk2007-06-123-436/+0
|
* Add regression test for SSM code.bms2007-06-122-0/+798
|
* Import rewrite of IPv4 socket multicast layer to support source-specificbms2007-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and protocol-independent host mode multicast. The code is written to accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work. This change only pertains to FreeBSD's use as a multicast end-station and does not concern multicast routing; for an IGMPv3/MLDv2 router implementation, consider the XORP project. The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6, which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html Summary * IPv4 multicast socket processing is now moved out of ip_output.c into a new module, in_mcast.c. * The in_mcast.c module implements the IPv4 legacy any-source API in terms of the protocol-independent source-specific API. * Source filters are lazy allocated as the common case does not use them. They are part of per inpcb state and are covered by the inpcb lock. * struct ip_mreqn is now supported to allow applications to specify multicast joins by interface index in the legacy IPv4 any-source API. * In UDP, an incoming multicast datagram only requires that the source port matches the 4-tuple if the socket was already bound by source port. An unbound socket SHOULD be able to receive multicasts sent from an ephemeral source port. * The UDP socket multicast filter mode defaults to exclusive, that is, sources present in the per-socket list will be blocked from delivery. * The RFC 3678 userland functions have been added to libc: setsourcefilter, getsourcefilter, setipv4sourcefilter, getipv4sourcefilter. * Definitions for IGMPv3 are merged but not yet used. * struct sockaddr_storage is now referenced from <netinet/in.h>. It is therefore defined there if not already declared in the same way as for the C99 types. * The RFC 1724 hack (specify 0.0.0.0/8 addresses to IP_MULTICAST_IF which are then interpreted as interface indexes) is now deprecated. * A patch for the Rhyolite.com routed in the FreeBSD base system is available in the -net archives. This only affects individuals running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces. * Make IPv6 detach path similar to IPv4's in code flow; functionally same. * Bump __FreeBSD_version to 700048; see UPDATING. This work was financially supported by another FreeBSD committer. Obtained from: p4://bms_netdev Submitted by: Wilbert de Graaf (original work) Reviewed by: rwatson (locking), silence from fenner, net@ (but with encouragement)
* Don't forget to clear out the hold space for each subsequent fileyar2007-06-121-1/+2
| | | | | | | | when in -i mode so that each file gets a clean context of its own. Add a regression test for the bug. Tested with: regression tests
* Add cust_pkg() which iteratively tries to install packages.phk2007-06-121-2/+59
| | | | | | Move /usr/local/etc to /etc/local so that installed packages can be frobbed. Use a more compatible 512MB card geometry.
* add 11n statssam2007-06-111-17/+60
|
* o add 11n knobsam2007-06-111-5/+11
| | | | o gcc42 stuff
* Updated tests for changed features.grog2007-06-0924-10/+68
| | | | Submitted by: edwin@
* Default to R/O root filesystemphk2007-06-051-0/+3
|
* Fix the fstab on the second image, just like updatep2.sh does.phk2007-06-051-0/+7
|
* Use correct comment syntax for $FreeBSD$. This file gets put throughgrog2007-06-041-1/+5
| | | | | | cpp, not a shell script. Pointy hat to: grog
* Add regression tests for calendar.grog2007-06-0319-1/+461
| | | | | | Submitted by: edwin@ PR: bin/113275 MFC after: 2 weeks
* Add sparc64 regression test files.dds2007-05-2410-0/+134
| | | | Submitted by: Carl Johan Gustavsson
* Modify file generation instructions to remove the tty field:dds2007-05-241-1/+2
| | | | | the mapping from number to name differs between systems, and will cause tests to fail.
* Fix the procedure for generating the test summary files.dds2007-05-231-5/+14
| | | | Document the procedure for obtaining an appropriately old version of sa.
* Regression tests for sparc64 record formats.dds2007-05-222-0/+0
| | | | Submitted by: Carl Johan Gustavsson
* Regression tests for amd64 file and record formats.dds2007-05-2212-0/+118
| | | | Submitted by: Larry Rosenman (who also provided access to a testing host)
* Regression tests for the new and legacy process accounting formats.dds2007-05-2221-1/+361
|
* Document the .in .out file naming conventions adopted in commit_prep.pl'sdds2007-05-221-0/+5
| | | | exclusions list for header checking.
* Test the integer-arithmetic float conversions encode_timeval and encode_longdds2007-05-223-0/+157
| | | | in kern_acct.c.
* Introduce WITHOUT_SSP option that allows users to exclude LGPLedkan2007-05-191-0/+2
| | | | libssp from the build.
* Add a description for the WITHOUT_SYMVER option.deischen2007-05-171-0/+2
|
* Add regression tests for ethers(3) functions, including new _r variants.rwatson2007-05-133-1/+246
| | | | | | | | | | Four tests currently fail: test_ether_line_bad_1() and test_ether_line_bad_2() due to bugs in ether_line(3). test_ether_ntohost() and test_ether_hostton() due to not being fully implemented tests.
* Add a regression test to detect if waiting on the I/O serialization lockrwatson2007-05-062-0/+216
| | | | | | | on socket buffers is interruptible or not, which detacts the regression I introduced recently in 7-CURRENT (spotted by alfred). This test passes in older -CURRENT, and with the as-yet uncommitted sx_xlock_sig and sblock fix patches.
* Improve reporting in recoverdisk a good deal.phk2007-04-231-12/+26
| | | | | Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com> PR: 111630
* o fix a buffer overflow in save_key() that occurs with 104-bit wepsam2007-04-231-9/+22
| | | | | | | o make some variables parameters (frequency of crack, and maximum channel) o try to spoof mac if association fails Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
* Add some notes clarifying usage and a couple of known bugskris2007-04-221-1/+15
|
* Regression tests for recent changes to inet6_rth_* family of functionsmtm2007-04-214-0/+556
| | | | regarding RFC3542 compliance.
* Change the semantics of -i (in-place editing) so that it treatsyar2007-04-211-1/+35
| | | | | | | | | | | | | | | | | each file independently from other files. The new semantics are desired in the most of practical cases, e.g.: delete lines 5-9 from each file. Keep the previous semantics of -i under a new option, -I, which uses a single continuous address space covering all files to edit in-place -- they are too cool to just drop them. Add regression tests for -i and -I. Approved by: dds Compared with: GNU sed Discussed on: -hackers MFC after: 2 weeks
* Test sending 0 bytes.pjd2007-04-201-0/+6
|
* Fix length calculation.pjd2007-04-201-1/+1
|
* NanoBSD modifications:adrian2007-04-201-1/+7
| | | | | | | | | | | | * Break out the boot0 loader selection into a variable - NANO_BOOTLOADER - so people like me with VGA consoles can override the default (which is to use boot0sio) * Put the boot0 configuration options in NANO_BOOT0CFG in case you want to override the defaults. * Modify nanobsd.8 to reflect the changes and hint the console default is serial. MFC after: 2 weeks
* Valid error codes for err() and errx() are 1..255.des2007-04-192-27/+29
| | | | The correct format specifier for ssize_t is %zd.
* Add more tests to verify last sendfile(2) breakage: test sending morepjd2007-04-191-3/+38
| | | | than a page size and nbytes=0.
* Committing regression tests for all implemented nsswitch databases.bushman2007-04-1520-0/+5390
| | | | | | | Detailed description and instructions are in the README file. This work had been basically done during GSoC 2006. Approved by: brooks (mentor)
* Nuke ipblock. A more complete multicast regression test suite is on the way.bms2007-04-122-231/+0
|
* Fix a bug whereby group addresses were incorrectly computed in the test.bms2007-04-091-2/+2
| | | | | | [Since the change to strict refcounting for in_multi objects, this test began to fail; formerly the refcount was a count of the number of requests for a given address, NOT a count of pointers to the object.]
* correct copyright attribution; there was no copyright in the patchessam2007-04-092-2/+4
| | | | | | from Andrea so I assigned him ownership; this corrects that Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
OpenPOWER on IntegriCloud