summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add a regression test for ethernet link-layer multicast memberships.bms2007-02-252-0/+263
|
* Add 's' after printing the send interval to make it clear it's a sendrwatson2007-02-081-1/+1
| | | | interval.
* Allow to use umastat on coredumps.pjd2007-02-061-3/+24
| | | | Reviewed by: rwatson
* For the IPv4 multicast membership socket regression test:bms2007-02-021-12/+58
| | | | | | Add command line flags to increase the number of test iterations. Be deterministic by default, for automated operation. Better document assumptions.
* create empty opt_ah.h for compiling athstats.o; it just needssam2007-02-021-0/+8
| | | | | the PHY definitions and not the descriptor so it doesn't matter if it's correct relative to the hal.o
* Remove old libmytinfo link.rafan2007-02-011-0/+1
| | | | | Approved by: delphij (mentor) Requested by: ache
* Simple README file which shows how to use fstest.pjd2007-01-281-0/+22
|
* Replace the GNU gzip with a slightly modified NetBSD gzip. Thedelphij2007-01-262-0/+5
| | | | | | | | | | | | | | | | | | | | | NetBSD version is a feature-to-feature re-implementation of GNU gzip using the freely-redistributable zlib and this version is expected to be mostly bug-to-bug compatible with the GNU implementation. - Because this is a piece of mature code and we want to make changes so it is added directly rather than importing to src/contrib. - Connect newly added code to src/usr.bin/ and rescue/rescue build. - Disconnect the GNU gzip code from build for now, they will be eventually removed completely. - Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and WITHOUT_BZIP2. Tested by: kris (full exp-7 pointyhat build) Approved by: core (importing a 4-clause BSD licensed file) Approved by: re (adding new utility during -HEAD code slush)
* MFp4: - When new object is created, it's group ID can be set to process'pjd2007-01-253-7/+39
| | | | | | effective group ID or to group ID of its parent directory. - Add some comments from POSIX. - Verify that after successful O_TRUNC open, size is equal to 0.
* MFp4: When user is not a member of the group which owns a file, even ifpjd2007-01-251-2/+2
| | | | | | he is the file's owner, he can't set set-gid bit. POSIX requires to return 0 and clear the bit, but FreeBSD returns EPERM for UFS in such case. For now do the same in ZFS.
* - Add a horrible bit of code to detect tsc differences between processors.jeff2007-01-241-28/+112
| | | | | | | | | | | | | | | | | | | This only works if there is no significant drift and all processors are running at the same frequency. Fortunately, schedgraph traces on MP machines tend to cover less than a second so drift shouldn't be an issue. - KTRFile::synchstamp() iterates once over the whole list to determine the lowest tsc value and syncs adjusts all other values to match. We assume that the first tick recorded on all cpus happened at the same instant to start with. - KTRFile::monostamp() iterates again over the whole file and checks for a cpu agnostic monotonically increasing clock. If the time ever goes backwards the cpu responsible is adjusted further to fit. This will make the possible incorrect delta between cpus as small as the shortest time between two events. This time can be fairly large due to sched_lock essentially protecting all events. - KTRFile::checkstamp() now returns an adjusted timestamp. - StateEvent::draw() detects states that occur out of order in time and draws them as 0 pixels after printing a warning.
* - Print clock information so we know if something is not reported correctlyjeff2007-01-231-7/+7
| | | | | | | | | | from the tsc. - Set skipnext = 1 for yielding and preempted events so we don't show the event that adds us back to the run queue. It used to be 2 so we would skip the ksegrp run queue addition and the system run queue addition but the ksegrp run queue has gone away. - Don't display down to nanosecond resolution for scheduling events right now. This can sometimes cause a division by zero.
* Add 3436 file system regression tests in 184 files.pjd2007-01-17189-0/+7978
| | | | | | | | | | | | | | | | | Almost all regression tests are based on very flexible fstest tool. They verify correctness (POSIX conformance) of almost all file system-related system calls. The motivation behind this work is my ZFS port and POSIX, who doesn't provide free test suites. Runs on: FreeBSD/UFS, FreeBSD/ZFS, Solaris/UFS, Solaris/ZFS To try it out: # cd fstest # make # find tests/* -type d | xargs prove
* Ignore EINPROGRESS error on TCP connect(), and pick up the result of therwatson2007-01-121-4/+23
| | | | | | | non-blocking connect later using select(). This case didn't trigger on my UP test box, but did on Peter's SMP test box. Spotted by: peter
* Add a regression test for sending and writing zero bytes to sockets ofrwatson2007-01-122-0/+278
| | | | | | | | | | | various types, as well as pipes and fifos for good measure. RELENG_6 currently passes all of these tests, but 7-CURRENT fails 0-byte writes and sends on all stream socket types (and fifos, as they are based on stream sockets). Bumped into by: peter Diagnosed by: jhb Problem of: andre
* Fix typos.joel2007-01-121-3/+3
|
* add man pagesam2007-01-122-1/+182
|
* fix typosam2007-01-121-1/+1
| | | | MFC after: 1 week
* Remove 3rd clause, per email from bmsimp2007-01-112-8/+2
|
* Add regression tests for exec.c rev 1.30.stefanf2007-01-114-3/+12
|
* Fix a few of the tests so that correct implementations actually pass them.das2007-01-071-6/+14
|
* Fix compiling.davidxu2007-01-0610-25/+29
|
* - Add colors for up to 8 cpus.jeff2007-01-061-0/+8
|
* Remove the test that ensures that when the string "nan(...)" is converteddas2007-01-031-0/+8
| | | | | | to floating-point, the result is a quiet NaN. The current implementation may return a signaling NaN, and the vendor has no plans for changing this, for reasons explained in the comment I added.
* Fix cut-and-paste bugs in the regression tests.das2007-01-031-2/+2
|
* Expand a comment for clarity and fix a missed substitution.scottl2007-01-021-3/+4
|
* Add a simple tool for checking the command queues in the MFI driver. Also addscottl2007-01-013-0/+124
| | | | a simple wrapper for running the MegaCLI tool.
* Drop all received data mbufs from a socket's queue if the MT_SONAMEbms2006-12-232-0/+116
| | | | | | | | | | | | | mbuf is dropped, to preserve the invariant in the PR_ADDR case. Add a regression test to detect this condition, but do not hook it up to the build for now. PR: kern/38495 Submitted by: James Juran Reviewed by: sam, rwatson Obtained from: NetBSD MFC after: 2 weeks
* initialize mutex and cv.davidxu2006-12-061-2/+2
|
* Fix spelling.davidxu2006-12-051-1/+1
|
* Add a test for pthread's cv and cancellation.davidxu2006-12-052-0/+93
|
* New test cases demonstrating fixed bugs, and the reason whydds2006-12-0321-1/+201
| | | | fmtcheck can't be used.
* /usr/sbin/faithd is an INET6-specific tool, and now it won't be builtyar2006-11-271-0/+1
| | | | | | if MK_INET6 is "no", so add it to the MK_INET6 block. PR: bin/100805 (audit-trail)
* Shorten the KERNCONF filename to the basename in the install target asn_hibma2006-11-271-1/+1
| | | | well as in the build target, although it is not used in this target.
* add rate knob for net80211 rate control modulessam2006-11-261-0/+2
| | | | MFC after: 1 month
* ah_if.m was removed a while agonetchild2006-11-261-1/+0
|
* Make use of mk/ files from a fresh source tree, rather thandelphij2006-11-241-1/+1
| | | | | | | | the currently installed ones. This makes it possible to use the script against Makefiles that uses bsd.own.mk on an old system. Submitted by: bushman
* Fix and extend the -j option to pkill/pgrep WRT the jailyar2006-11-232-35/+87
| | | | | | | | | | | | | | | | | | | | | wildcard specifications. Earlier the only wildcard syntax was "-j 0" for "any jail". There were at least two shortcomings in it: First, jail ID 0 was abused; it meant "no jail" in other utils, e.g., ps(1). Second, it was impossible to match processed not in jail, which could be useful to rc.d developers. Therefore a new syntax is introduced: "-j any" means any jail while "-j none" means out of jail. The old syntax is preserved for compatibility, but now it's deprecated because it's limited and confusing. Update the respective regression tests. While I'm here, make the tests more complex but sensitive: Start several processes, some in jail and some out of jail, so we can detect that only the right processes are killed by pkill or matched by pgrep. Reviewed by: gad, pjd MFC after: 1 week
* Remove references to mount_devfs, mount_fdescfs, mount_linprocfs,rodrigc2006-11-227-28/+0
| | | | | | mount_procfs, and mount_std. Reminded by: ru
* Fix message size tests for msgsnd(3) and msgrcv(3). msgsz is the length ofjkim2006-11-161-8/+12
| | | | actual message and it should not include size of message type.
* Add the Transcend 2GB card specs.benno2006-11-161-0/+5
|
* Add a short regression test to try to exercise races in the non-atomicrwatson2006-11-152-0/+219
| | | | | | | 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.
* o Indent by tab.maxim2006-11-111-1/+1
|
* o Add several regression tests for dup(2), dup2(2) and fcntl(F_DUPFD).maxim2006-11-113-0/+177
| | | | Obtained from: OpenBSD
* Update copyright date.bms2006-11-092-2/+2
| | | | MFC after: 3 weeks
* Use C99 types.bms2006-11-092-32/+32
| | | | MFC after: 3 weeks
* Rewrite the format of pirtool output to match what the kernel currentlybms2006-11-092-50/+66
| | | | | | | | | | | 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
* Use z modifier for size_t and ssize_t.jkim2006-11-071-15/+15
|
* Add the examples from the manual page.dds2006-11-0610-2/+630
|
* Updated results for bin/68981dds2006-11-062-0/+42
| | | | PR: bin/68981
OpenPOWER on IntegriCloud