summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* zfsboottest: sync with changes in zfs boot codeavg2013-07-091-2/+5
| | | | | | | | - spa status can not be called before spa init - libzfs.h inclusion is now required - fix alternative code for explicit root dataset lookup MFC after: 10 days
* Document WITHOUT_SVNLITE and WITH_SVN.zeising2013-07-032-0/+9
| | | | | PR: docs/180025 Submitted by: Garrett Cooper <yaneurabeya@gmail.com>
* Count the number of hits for a filter by default.np2013-07-011-0/+1
| | | | MFC after: 3 days
* Add include path to the ar9300 HAL.adrian2013-06-251-0/+1
|
* Add missing Obsolete Fileseadler2013-06-241-0/+4
| | | | Submitted by: Kurt Lidl <lidl@pi-coral.com>
* Teach delete-old how to clean up after WITH/WITHOUT_SVN{LITE} permutations.peter2013-06-181-0/+24
|
* Restore "all rights reserved" (spelled correctly). This was actually part ↵eadler2013-06-178-0/+8
| | | | | | of the standard text of the license which I did not realize prior. Approved by: bushman
* Remove lines declaring "All rights reserved" or similar comments: theyeadler2013-06-169-9/+0
| | | | | | are not true as the files are actually under the BSD-2 license Approved by: bushman
* sh: Add tests for 'local -' (save shell options).jilles2013-06-152-0/+43
|
* Remove CVS from the base system.eadler2013-06-153-31/+0
| | | | | | Discussed with: many Reviewed by: peter, zi Approved by: core
* Link the AR9300 EEPROM dump tool into the build.adrian2013-06-141-1/+1
|
* Begin fleshing out an AR9300 EEPROM dump helper utility.adrian2013-06-142-0/+248
|
* Add missing formatting strings.adrian2013-06-141-6/+6
| | | | Thanks to: clang
* Use portable string comparisonemaste2013-06-131-1/+1
| | | | | We support == in /bin/sh now, but it ought to be avoided, and my use of it was accidental.
* Handle options that override other optionsemaste2013-06-101-5/+18
| | | | | | This is a workaround for WITH_LDNS_UTILS forcing BIND_UTILS off. It can be reverted when we no longer have these conflicting options, or made more general if we grow more cases like this.
* Fix some bugs in the complex trig tests so that they test both doubledas2013-06-101-33/+68
| | | | and float precision properly.
* Add freebsd-update.conf(5) to OptionalObsoleteFiles.incgjb2013-06-091-0/+1
| | | | | | PR: 179437 Approved by: kib (mentor) MFC after: 1 week
* Add testing utility for behavior of atomic ops.ed2013-06-082-0/+135
| | | | | | | This small utility performs a sequence of atomic operations with random parameters on an atomic variable. For every type, we also create 16 variables, to ensure that we test the correctness at different alignments.
* Add a new knob WITH_DEBUG_FILES to control the building of standaloneemaste2013-06-071-0/+7
| | | | | | | | | | | | | | | | debug files for userland programs and libraries. The "-g" debug flag is automatically applied when WITH_DEBUG_FILES is set. The debug files are now named ${prog}.debug and ${shlib}.debug for consistency with other systems and documentation. In addition they are installed under /usr/lib/debug, to simplify the process of installing them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the base system place the standalone debug files in a .debug subdirectory. GDB automatically searches both of these directories for standalone debug files. Thanks to everyone who contributed changes, review, and testing during development.
* Switch to 2-clause license and standard textemaste2013-06-061-18/+11
| | | | Approved by: bms@
* sh: Return status 127 for unknown jobs in wait builtin.jilles2013-06-052-0/+8
| | | | | | | | | | This is required by POSIX, at least for pids that are not known child processes. Other problems with job specifications still cause wait to abort with exit status 2. PR: 176916
* sh: Allow multiple operands in wait builtin.jilles2013-06-051-0/+7
| | | | | | | | This is only part of the PR; the behaviour for unknown/invalid pids/jobs remains unchanged (aborts the builtin with status 2). PR: 176916 Submitted by: Vadim Goncharov
* new features (mostly for testing netmap capabilities)luigi2013-06-051-38/+63
| | | | | | | | | | | | | + pkt-gen -f rx now remains active even when traffic stops Previous behaviour (exit after 1 second of silence) can be restored with the -W option + the -X option does a hexdump of the content of a packet (both tx and rx). This can be useful to check what goes in and out. + the -I option instructs the sender to use indirect buffers (not really useful other than to test the kernel module in the VALE switch)
* Add RX STBC statistics.adrian2013-06-041-2/+5
|
* Match the options of the kernel.obrien2013-06-043-17/+54
|
* Add libiconv based versions of *c16*() and *c32*().ed2013-06-032-0/+75
| | | | | | | | | | | | | I initially thought wchar_t was locale independent, but this seems to be only the case on Linux. This means that we cannot depend on the *wc*() routines to implement *c16*() and *c32*(). Instead, use the Citrus libiconv that is part of libc. I'll see if there is anything I can do to make the existing functions somewhat useful in case the system is built without libiconv in the nearby future. If not, I'll simply remove the broken implementations. Reviewed by: jilles, gabor
* Add more tests for log functions. A few are commented out because thedas2013-06-031-1/+114
| | | | | | long double versions don't pass yet. (They are rather nit-picky cases, so there's ongoing discussion with Bruce about whether it is worth the performance cost.)
* Factor out some common code from the libm tests. This is a bit messydas2013-06-0215-628/+412
| | | | | | | | because different tests have different ideas about what it means to be "close enough" to the right answer, depending on the properties of the function being tested. In the process, I fixed some warnings and added a few more 'volatile' hacks, which are sufficient to make all the tests pass at -O2 with clang.
* This test is working now, so remove it from NOTWORK.markj2013-06-021-1/+0
|
* test: Remove -ntXY and -otXY primaries.jilles2013-05-311-64/+1
| | | | | | | | | | | | | | | This reverts commit r247274. As maintainer of sh, I disapprove of this feature addition. It is too specific and can be done without easily using find(1) or stat(1). I will add some hints to the test(1) man page shortly. In general, FreeBSD sh is not the place to invent new shell language features. This is how it has been maintained and adding features randomly does not work with that. The new syntax (e.g. [ FILE1 -ntca FILE2 ]) looks cryptic to me.
* sh: Add test cases for break outside a loop.jilles2013-05-312-0/+19
| | | | | | In most shells (including our sh), break outside a loop does nothing with status 0, or at least does not abort. Therefore, scripts sometimes (buggily) depend on this.
* Different approach to making all compilers happy.obrien2013-05-311-2/+1
|
* Allow building with clang (which is being really stupid here...).obrien2013-05-311-0/+1
|
* Bring in a number of new features, mostly implemented by Michio Honda:luigi2013-05-302-1/+164
| | | | | | | | | | | | | | | | | | | | | | | | | - the VALE switch now support up to 254 destinations per switch, unicast or broadcast (multicast goes to all ports). - we can attach hw interfaces and the host stack to a VALE switch, which means we will be able to use it more or less as a native bridge (minor tweaks still necessary). A 'vale-ctl' program is supplied in tools/tools/netmap to attach/detach ports the switch, and list current configuration. - the lookup function in the VALE switch can be reassigned to something else, similar to the pf hooks. This will enable attaching the firewall, or other processing functions (e.g. in-kernel openvswitch) directly on the netmap port. The internal API used by device drivers does not change. Userspace applications should be recompiled because we bump NETMAP_API as we now use some fields in the struct nmreq that were previously ignored -- otherwise, data structures are the same. Manpages will be committed separately.
* add support for rate-limiting in the sender (-R ...)luigi2013-05-301-17/+139
| | | | Obtained from: Giuseppe Lettieri
* add a compile-time option to copy packets instead of doingluigi2013-05-301-3/+12
| | | | the buffer swapping.
* remove use of deprecated ioctl()luigi2013-05-302-3/+1
|
* Fix some harmless bugs in a test.das2013-05-301-2/+2
|
* Basic tests for complex inverse trig and hyperbolic functions.das2013-05-302-1/+444
|
* mdoc: silence a few mandoc lint warnings.joel2013-05-281-2/+2
|
* Fix cexp regression tests that have an infinite real part. The signs of thetijl2013-05-281-12/+26
| | | | | | | | result depend on the cosine and sine of the imaginary part. Small values are used in the new tests such that cosine and sine are well defined. Reviewed by: das
* Fix some regressions caused by the switch from gcc to clang. The fixesdas2013-05-271-19/+25
| | | | | | | | | | are workarounds for various symptoms of the problem described in clang bugs 3929, 8100, 8241, 10409, and 12958. The regression tests did their job: they failed, someone brought it up on the mailing lists, and then the issue got ignored for 6 months. Oops. There may still be some regressions for functions we don't have test coverage for yet.
* Add missing #includes, to keep Clang silent.ed2013-05-253-0/+3
|
* Implement beacon event debugging in athalq.adrian2013-05-221-0/+39
|
* Add <uchar.h>.ed2013-05-213-1/+268
| | | | | | | | | | | | The <uchar.h> header, part of C11, adds a small number of utility functions for 16/32-bit "universal" characters, which may or may not be UTF-16/32. As our wchar_t is already ISO 10646, simply add light-weight wrappers around wcrtomb() and mbrtowc(). While there, also add (non-yet-standard) _l functions, similar to the ones we already have for the other locale-dependent functions. Reviewed by: theraven
* BMAKE is now being built by default.delphij2013-05-211-1/+1
|
* Cleanups and markup improvements suggested by trociny and joel.brooks2013-05-201-5/+12
|
* popen(): Add 'e' mode character to set close-on-exec on the new fd.jilles2013-05-201-4/+4
| | | | | | | | | | | | | | If 'e' is used, the kernel must support the recently added pipe2() system call. The use of pipe2() with O_CLOEXEC also fixes race conditions between concurrent popen() calls from different threads, even if the close-on-exec flag on the fd of the returned FILE is later cleared (because popen() closes all file descriptors from earlier popen() calls in the child process). Therefore, this approach should be used in all cases when pipe2() can be assumed present. The old version of popen() rejects "re" and "we" but treats "r+e" like "r+".
* Add a test program for popen().jilles2013-05-202-1/+228
|
* Minor mdoc improvements.joel2013-05-161-3/+3
|
OpenPOWER on IntegriCloud