summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
...
| * Import LLVM, at r72732.ed2009-06-02116-0/+16157
|
* Add MK_SOURCELESS build option. Setting MK_SOURCELESS to "no" will disablermh2012-02-043-0/+6
| | | | | | | | | | | kernel modules that include binary-only code. More fine-grained control is provided via MK_SOURCELESS_HOST (for native code that runs on host CPU) and MK_SOURCELESS_UCODE (for microcode). Reviewed by: julian, delphij, freebsd-arch Approved by: kib (mentor) MFC after: 2 weeks
* Add some missing radar config parameters to athradar.adrian2012-02-021-0/+6
|
* - remove non-existent input directories from the configsnetchild2012-02-01238-239/+6
| | | | | | | - add the target-arch to the project name where applicable (arch dependend code) - fix comment for __FreeBSD__ [1] Noticed by: bz [1]
* More mdconfig(8) tests.trasz2012-01-261-0/+39
|
* Move mdconfig(8) tests under regression/sbin/, where they belong.trasz2012-01-253-0/+0
| | | | Submitted by: jh@
* Just define __FreeBSD__ to 1 instead of doing what the compiler does.netchild2012-01-241-1/+5
| | | | | | | The kernel is supposed to DTRT based upon the __FreeBSD_version value, not the value of __FreeBSD__. Discussed with: bz
* Add some basic regression tests for mdconfig(8).trasz2012-01-243-0/+568
|
* We are in FreeBSD 10 now: define __FreeBSD__ to 10.netchild2012-01-241-1/+1
|
* Mechanically add a config for all missing drivers.netchild2012-01-23238-0/+5236
| | | | | | | | | No cross-referencing was added to the configs, so no automatic linking to the documentation of other subsystems. Drivers which already contain doxygen markup: agp ath bktr bxe cxgb cxgbe dpt drm e1000 iir ixgbe mwl nxge ofw pccard siba wpi xen
* sh: Fix $? in the first command of a 'for'.jilles2012-01-222-0/+17
| | | | | | In the first command of a 'for', $? should be the exit status of the last pipeline (command substitution in the word list or command before 'for'), not always 0.
* Bring over the visibility control tool for Monthadar's wtap project.adrian2012-01-223-0/+131
| | | | | This allows basic control over which wtap nodes can see which other wtap nodes.
* These tests check whether the compiler evaluates floating-pointdas2012-01-203-0/+293
| | | | | | | | | | | | | | expressions properly. Some of the tests depend on the compiler implementing C99's FENV_ACCESS pragma, and only commercial compilers do; those tests are currently skipped. If any of the enabled tests fail, then odds are the libm regression tests will fail also. This should make it easier to diagnose reported problems on platforms I don't have. Currently, gcc passes all the tests that don't depend on FENV_ACCESS on amd64 and sparc64. Clang fails a few on amd64 (see clang bug 11406). Both gcc and clang fare poorly on i386, which has well-known issues.
* sh: Fix execution of multiple statements in a trap when evalskip is setdumbbell2012-01-162-0/+14
| | | | | | | | | | | Before this fix, only the first statement of the trap was executed if evalskip was set. This is for example the case when: o "-e" is set for this shell o a trap is set on EXIT o a function returns 1 and causes the script to abort Reviewed by: jilles MFC after: 2 weeks
* sh: Test EXIT trap with multiple statements in itdumbbell2012-01-161-0/+3
| | | | | Reviewed by: jilles MFC after: 2 weeks
* sh: Fix some bugs with exit status from case containing ;&.jilles2012-01-153-0/+17
| | | | | | | | | | | | | Also, rework evalcase() to not evaluate any tree. Instead, return the NCLISTFALLTHRU node and handle it in evaltree(). Fixed bugs: * If a ;& list with non-zero exit status is followed by an empty ;; or final list, the exit status of the case command should be equal to the exit status of the ;& list, not 0. * An empty ;& case should not reset $?.
* sh: Fix two bugs with case and exit status:jilles2012-01-153-0/+17
| | | | | | | * If no pattern is matched, POSIX says the exit status shall be 0 (even if there are command substitutions). * If a pattern is matched and there are no command substitutions, the first command should see the $? from before the case command, not always 0.
* sh: Add testcases that should not be broken by future optimizations.jilles2012-01-142-0/+18
|
* Add .t files for tests, missed in prior checkins, so that prove(1) worksdas2012-01-143-0/+30
| | | | in this directory.
* Update the tests for arm and other ports where long double is the samedas2012-01-141-3/+3
| | | | as double, similar to r178141.
* Fix a test that doesn't work on architectures where long double is nodas2012-01-141-0/+2
| | | | wider than double. Thanks to Ian Lepore for catching the bug.
* sh: Properly show "Not a directory" error in cd builtin.jilles2012-01-131-0/+26
| | | | | | | | The errno message display added in r222292 did not take attempting to cd to a non-directory or something that cannot be stat()ed into account. PR: bin/164070 MFC after: 10 days
* Remove wtmpcvt(1).ed2012-01-131-1/+0
| | | | | | | | The wtmpcvt(1) utility converts wtmp files to the new format used by utmpx(3). Now that HEAD has been branched to stable/9 and 9.0 is released, there is no need for it in HEAD. MFC after: never
* Bring over a tool to create and destroy wtap instances.adrian2012-01-112-0/+91
| | | | Submitted by: Monthadar Al Jaberi <monthadar@gmail.com>
* X11BASE has been deprecated for a long time and will die sooneadler2012-01-091-1/+1
| | | | | | Approved by: x11 (eadler) Approved by: brucec MFC after: 1 week
* sh: Avoid possible echo options in a testcase.jilles2012-01-061-3/+3
|
* Import the first cut of "bsdbox".adrian2012-01-0610-0/+295
| | | | | | | | | | | | | | | | | | | This uses the existing crunchgen infrastructure to build a series of tools designed to replace the base and networking tools on an embedded system. It reuses 'bsd.crunchgen.mk' to drive the actual file creation. The rescue build system also uses this. Unlike busybox, it doesn't include its own source - instead, it just builds from the sources in /usr/src/ and leverages the existing BSD framework. Thie is still quite messy and could do with a whole lot of cleaning up. However it is proving to be very useful with my current build framework, allowing me to build binary root images that are about 30% less than simply cherrypicking files and libraries from an installworld.
* Convert files over to UTF-8.uqs2012-01-054-13/+22
| | | | | | | | These files contained various combinations of Big5, eucJP and KOI8-U encoded strings. The byte representations of their respective encodings have been translated to $'...' escape sequences as understood by our sh(1). With help from: jilles
* Fix an obvious typo. We do want to specify file permission when we pass O_CREAT.pjd2012-01-031-1/+1
|
* Add WITHOUT_CAPSICUM src.conf(5) define, which can be used to compile outrwatson2012-01-021-0/+2
| | | | | | | use of Capsicum by userspace applications. MFC after: 3 weeks Sponsored by: Google, Inc.
* Adapt testsuite following change in Domain Search error handlingdumbbell2011-12-301-1/+5
| | | | | | | In this testsuite, warning() and error() have the same behaviour. PR: bin/163431 Sponsored by: Yakaz (http://www.yakaz.com)
* Spelling fixes for tools/uqs2011-12-3031-40/+43
| | | | Add some $FreeBSD$ tags so svn will allow the commit.
* Fix typo in comment.rwatson2011-12-291-1/+1
| | | | MFC after: 3 days
* Reencode files from latin1 to UTF-8.uqs2011-12-297-7/+7
|
* sh: Allow quoting ^ and ] in bracket expressions.jilles2011-12-281-0/+12
|
* Oops, if we want to check from 0 to nsock, the test condition should becognet2011-12-281-1/+1
| | | | | | | < nsock, not >. Pointy hat to: cognet Submitted by: Olivier Cochard-Labbe <olivier AT cochard doT me>
* Oops, my bad. Fix a broken thing I introduced earlier.adrian2011-12-261-1/+1
|
* sh: Add some testcases for pasting $*/$@ directly to a literal.jilles2011-12-251-0/+65
| | | | This also passes on stable/8.
* Add in ath_ee_9287_print.adrian2011-12-231-2/+2
|
* Catch up with new driver ioctls in cxgbe.np2011-12-161-0/+175
| | | | MFC after: 1 month
* Many updates to cxgbe(4)np2011-12-161-29/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Device configuration via plain text config file. Also able to operate when not attached to the chip as the master driver. - Generic "work request" queue that serves as the base for both ctrl and ofld tx queues. - Generic interrupt handler routine that can process any event on any kind of ingress queue (via a dispatch table). - A couple of new driver ioctls. cxgbetool can now install a firmware to the card ("loadfw" command) and can read the card's memory ("memdump" and "tcb" commands). - Lots of assorted information within dev.t4nex.X.misc.* This is primarily for debugging and won't show up in sysctl -a. - Code to manage the L2 tables on the chip. - Updates to cxgbe(4) man page to go with the tunables that have changed. - Updates to the shared code in common/ - Updates to the driver-firmware interface (now at fw 1.4.16.0) MFC after: 1 month
* Fix last-minute typo.fjoe2011-12-151-1/+1
|
* Add job error output test.fjoe2011-12-155-0/+146
| | | | | make(1) with openpty() currently fails this test: there's a race condition and error output is sometimes lost.
* Add a test for r228510.jilles2011-12-141-0/+67
|
* Add more files to cleanup with 'make delete-old' when WITHOUT_CLANG isdim2011-12-111-0/+35
| | | | | | in effect. MFC after: 1 week
* - Add a test for PR 151758.jhb2011-12-091-26/+54
| | | | | | | | | | | | | - While here, make this compile and work on non-i386: - Use CMSG_SPACE(), CMSG_LEN(), and CMSG_FIRSTHDR() instead of ignoring padding between 'struct cmsghdr' and control message payloads. - Don't initialize the control message before calling recvmsg(). Instead, check that we get a valid control message on return from recvmsg(). - Use errx() instead of err() for some errors that don't report failures that set errno. Requested by: kib (1)
* 1. Fix the handling of link reset while in netmap more.luigi2011-12-051-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A link reset now is completely transparent for the netmap client: even if the NIC resets its own ring (e.g. restarting from 0), the client will not see any change in the current rx/tx positions, because the driver will keep track of the offset between the two. 2. make the device-specific code more uniform across different drivers There were some inconsistencies in the implementation of the netmap support routines, now drivers have been aligned to a common code structure. 3. import netmap support for ixgbe . This is implemented as a very small patch for ixgbe.c (233 lines, 11 chunks, mostly comments: in total the patch has only 54 lines of new code) , as most of the code is in an external file sys/dev/netmap/ixgbe_netmap.h , following some initial comments from Jack Vogel about making changes less intrusive. (Note, i have emailed Jack multiple times asking if he had comments on this structure of the code; i got no reply so i assume he is fine with it). Support for other drivers (em, lem, re, igb) will come later. "ixgbe" is now the reference driver for netmap support. Both the external file (sys/dev/netmap/ixgbe_netmap.h) and the device-specific patches (in sys/dev/ixgbe/ixgbe.c) are heavily commented and should serve as a reference for other device drivers. Tested on i386 and amd64 with the pkt-gen program in tools/tools/netmap, the sender does 14.88 Mpps at 1050 Mhz and 14.2 Mpps at 900 MHz on an i7-860 with 4 cores and 82599 card. Haven't tried yet more aggressive optimizations such as adding 'prefetch' instructions in the time-critical parts of the code.
* Fix some uninitialized variables in pipe regression tests that result ineadler2011-12-053-3/+5
| | | | | | | | | failure. PR: misc/161175 Submitted by: gianni@ Approved by: nwhitehorn@ MFC after: 1 week
* Support domain-search in dhclient(8)dumbbell2011-12-044-1/+405
| | | | | | | | | | | | | | | | | | | | | The "domain-search" option (option 119) allows a DHCP server to publish a list of implicit domain suffixes used during name lookup. This option is described in RFC 3397. For instance, if the domain-search option says: ".example.org .example.com" and one wants to resolve "foobar", the resolver will try: 1. "foobar.example.org" 2. "foobar.example.com" The file /etc/resolv.conf is updated with a "search" directive if the DHCP server provides "domain-search". A regression test suite is included in this patch under tools/regression/sbin/dhclient. PR: bin/151940 Sponsored by Yakaz (http://www.yakaz.com)
* Revert to conservative defaults. WITH_PROFILE is a default now.fjoe2011-12-022-2/+2
| | | | | NO_PROFILE overrides in Makefile.inc1 and bsd.own.m are left intact so that the reversal to the WITHOUT_PROFILE will be easier in future.
OpenPOWER on IntegriCloud