summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* MFC r277678:ngie2015-02-132-0/+11
| | | | | | | | r277678: Add MK_CCD knob for building and installing ccd(4), ccdconfig, etc Sponsored by: EMC / Isilon Storage Division
* MFC r277677:ngie2015-02-132-0/+38
| | | | | | | | r277677: Add MK_BSDINSTALL knob for building and installing bsdinstall Sponsored by: EMC / Isilon Storage Division
* MFC r277676:ngie2015-02-132-0/+12
| | | | | | | | r277676: Add MK_TALK knob for building the talk and talkd Sponsored by: EMC / Isilon Storage Division
* MFC 272315 272757 274091 274902sbruno2015-02-131-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | for real this time r272315 Explicitly return None for negative event indices. Prior to this, eventat(-1) would return the next-to-last event causing the back button to cycle back to the end of an event source instead of stopping at the start. r272757 Add schedgraph traces for callout handlers. Specifically, a callwheel logs a running event each time it executes a callout function. The event includes the function pointer, argument, and whether or not it was run from hardware interrupt context. The callwheel is marked idle when each handler completes. This effectively logs the duration of each callout routine in the graph. r274091 Bind Ctrl-Q as a global hotkey to exit. Bind Ctrl-W as a hotkey to close dialogs. r274902 Add a new thread state "spinning" to schedgraph and add tracepoints at the start and stop of spinning waits in lock primitives. Reviewed by: jhb
* Revert r278650. Definite layer 8 bug.sbruno2015-02-131-2/+4
| | | | Submitted by: dhw and Thomas Mueller <tmueller@sysgo.com>
* MFC 272315 272757 274091 274902sbruno2015-02-131-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | r272315 Explicitly return None for negative event indices. Prior to this, eventat(-1) would return the next-to-last event causing the back button to cycle back to the end of an event source instead of stopping at the start. r272757 Add schedgraph traces for callout handlers. Specifically, a callwheel logs a running event each time it executes a callout function. The event includes the function pointer, argument, and whether or not it was run from hardware interrupt context. The callwheel is marked idle when each handler completes. This effectively logs the duration of each callout routine in the graph. r274091 Bind Ctrl-Q as a global hotkey to exit. Bind Ctrl-W as a hotkey to close dialogs. r274902 Add a new thread state "spinning" to schedgraph and add tracepoints at the start and stop of spinning waits in lock primitives. Reviewed by: jhb
* MFC r277736:ngie2015-02-111-0/+1
| | | | | | | | r277736: Honor MK_ACCT with etc/rc.d/accounting Sponsored by: EMC / Isilon Storage Division
* MFC r277741:ngie2015-02-111-0/+2
| | | | | | | | r277741: Respect MK_KERBEROS with etc/rc.d/ipropd_master and etc/rc.d/ipropd_slave Sponsored by: EMC / Isilon Storage Division
* MFC r278182:ngie2015-02-111-0/+5
| | | | | | | | | r278182: Conditionalize building radius support into libpam, ppp, etc via MK_RADIUS_SUPPORT Sponsored by: EMC / Isilon Storage Division
* MFC r264515:ngie2015-02-111-0/+3
| | | | | | r264515 (by imp): Document WITHOUT_GPL_DTC too.
* MFC r277728:ngie2015-02-112-0/+24
| | | | | | | | r277728: Add MK_AUTOFS knob for building and installing autofs(4), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277727:ngie2015-02-112-0/+16
| | | | | | | | r277727: Add MK_BHYVE knob for building and installing bhyve(4), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277725:ngie2015-02-112-0/+18
| | | | | | | | r277725: Add MK_HAST knob for building and installing hastd(8), et al Sponsored by: EMC / Isilon Storage Division
* MFC r277675,r277726,r278070:ngie2015-02-112-0/+18
| | | | | | | | | | | | | | | | | | | | | | r277675: Add MK_ISCSI knob for building the iscsi initiator, iscsi daemon, kernel modules, etc Sponsored by: EMC / Isilon Storage Division r277726: Build sbin/iscontrol again if MK_ISCSI != no Pointyhat to: me r278070: Remove duplicate MK_ISCSI block and sort the conditional blocks so this error won't crop up again in the future Reported by: gjb
* MFC r277663:ngie2015-02-112-0/+22
| | | | | | | | r277663: Add MK_EE knob to control installing edit, ee, etc Sponsored by: EMC / Isilon Storage Division
* MFC r277730:ngie2015-02-051-0/+2
| | | | | | | | r277730: Honor MK_ACPI in etc/devd and etc/rc.d Sponsored by: EMC / Isilon Storage Division
* MFC r270028:ngie2015-02-051-3/+5
| | | | | | | | | | | | | | r270028: Make the USB and ZFS devd configuration files optional depending on the values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
* MFC r277740,r278053:ngie2015-02-051-0/+2
| | | | | | | | | | | | | r277740: Honor MK_WIRELESS with etc/rc.d/hostapd and etc/rc.d/wpa_supplicant Sponsored by: EMC / Isilon Storage Division r278053: Remove hostapd and wpa_supplicant from FILES so they're installed conditionally if MK_WIRELESS != no
* MFC r277733:ngie2015-02-041-0/+1
| | | | | | | | r277733: Honor MK_AMD with etc/rc.d/amd Sponsored by: EMC / Isilon Storage Division
* MFC r277732:ngie2015-02-041-0/+2
| | | | | | | | r277732: Honor MK_API in etc/rc.d Sponsored by: EMC / Isilon Storage Division
* MFC r277731,r277734:ngie2015-02-041-0/+1
| | | | | | | | | | | | | | r277731: Honor MK_LPR with etc/rc.d/lpd Sponsored by: EMC / Isilon Storage Division r277734: Remove explicit inclusion of lpd from FILES Sponsored by: EMC / Isilon Storage Division
* MFC r277738:ngie2015-02-041-0/+2
| | | | | | | | r277738: Honor MK_BLUETOOTH with etc/defaults/bluetooth.device.conf Sponsored by: EMC / Isilon Storage Division
* MFC r277739:ngie2015-02-041-0/+1
| | | | | | | | r277739: Honor MK_JAIL with etc/rc.d/jail Sponsored by: EMC / Isilon Storage Division
* MFC r277686,r277687:ngie2015-02-021-0/+93
| | | | | | | | | | | | | | r277686: Install bsnmp rc.d script if MK_BSNMP != no Sponsored by: EMC / Isilon Storage Division r277687: Fill in entries for MK_BSNMP == no Sponsored by: EMC / Isilon Storage Division
* MFC r277685:ngie2015-02-021-0/+15
| | | | | | | | r277685: Fill in some dtrace entries when MK_CDDL == no Sponsored by: EMC / Isilon Storage Division
* MFC r277527:ngie2015-01-251-5/+9
| | | | | | | | r277527 (by ngie): Make this compile with WARNS=6 and clang/gcc Sponsored by: EMC / Isilon Storage Division
* MFC r277453:ngie2015-01-231-15/+0
| | | | | | | | r277453 (by ngie): Garbage collect a prove test wrapper Sponsored by: EMC / Isilon Storage Division
* MFC r275907:ngie2015-01-201-3/+3
| | | | | | | | | | | | | | | | | | | | r275907 (by ngie): Fix building/installing tests when TESTSBASE != /usr/tests The work in r258233 hardcoded the assumption that tests was the last component of the tests tree by pushing tests as an explicit prefix for the paths in BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all of the mtree calls used in Makefile.inc1. This assumption breaks if/when one provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests . One thing that r258233 did properly though was remove "/usr/tests" creation from BSD.usr.dist -- that should have not been there in the first place. That was an "oops" on my part for the work that was originally committed in r241823 Phabric: D1301 Reviewed by: imp Sponsored by: EMC / Isilon Storage Division
* MFC r267004,r274592:ngie2015-01-202-302/+11
| | | | | | | | | | | | | | | | r267004 (by gahr): - Use strlen instead of hardcoding a number - Terminate a sentence with a period Approved by: cognet r274592 (by ngie): Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase and rename as lib/libc/stdio/fmemopen2_test Sponsored by: EMC / Isilon Storage Division
* MFC r274075,r274581,r274582,r274595:ngie2015-01-203-167/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r274075 (by ngie): Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately 500 new testcases Various TODOs have been sprinkled around the Makefiles for items that even need to be ported (missing features), testcases have issues with building/linking, or issues at runtime. A variant of this code has been tested extensively on amd64 and i386 10-STABLE/11-CURRENT for several months without issue. It builds on other architectures, but the code will remain off until I have prove it works on virtual hardware or real hardware on other architectures In collaboration with: pho, Casey Peel <casey.peel@isilon.com> Sponsored by: EMC / Isilon Storage Division r274581 (by ngie): Convert tools/regression/lib/libc/gen/test-arc4random into an ATF testcase and rename as lib/libc/gen/arc4random_test Sponsored by: EMC / Isilon Storage Division r274582 (by ngie): Remove test-arc4random from this Makefile so others can continue to use this as-is for the time being r274595 (by ngie): Convert tools/regression/lib/libc/stdio/test-fpclassify into an ATF testcase and Rename as lib/libc/stdio/fpclassify2_test Sponsored by: EMC / Isilon Storage Division
* MFC discussed with: jilles, -developersngie2015-01-111-0/+47
| | | | | | | | | | | | | MFC r266971: - Return NULL and set errno to EINVAL if size is 0 (as required by POSIX). Update the manpage to reflect this change. - Always set the current position to the first null-byte when opening in append mode. This makes the implementation compatible with glibc's. Update the test suite. Reported by: pho Approved by: cognet
* MFC r264400,r265836:ngie2014-12-31175-175/+175
| | | | | | | | | | | | | | r264400: NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. r265836: Remove last two NO_MAN= in the tree. In both of these cases, MAN= is what is needed.
* MFC r270190: Don't kill parallel jobs on (expected) failure of make_check.ian2014-12-261-0/+3
|
* MFC r273929:ngie2014-12-211-4/+9
| | | | | | r273929 (by jmmv): MFV: Import atf-0.21.
* MFC r272057,r272083,r272084,r272087,r274016:ngie2014-12-051-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r272057: Import pjdfstest from ^/vendor/pjdfstest/abf03c3a47745d4521b0e4aa141317553ca48f91 - Remove tools/regression/pjdfstest - Add upgrade directions for contrib/pjdfstest - Add a note to UPDATING for the move (the reachover Makefiles are coming soon) Functional differences: - ftruncate testcases are added from upstream (github) Non-functional differences: - The copyright for the project has been updated to 2012 - pjd's contact information has been updated Discussed with: -testing, jmmv, pjd Sponsored by: EMC / Isilon Storage Division r272083: Expect ELOOP on Darwin/Linux with "O_NOFOLLOW was specified and the target is a symbolic link" case. Assume EMLINK on the rest of the OSes (FreeBSD, Solaris, etc) Sponsored by: EMC / Isilon Storage Division r272084: Fix the executed testplan count Sponsored by: EMC / Isilon Storage Division r272087: Increase the memory disk size in the following testcases to avoid mount failures, which would cause cascade failures in the rest of the test run: link/15.t, open/19.t, mkdir/11.t, mkfifo/11.t, symlink/11.t Fail quickly in all of the testcases if mdconfig, mount, umount, etc fails to avoid issues similar to this in the future Submitted by: Casey Peel <cpeel@isilon.com> Sponsored by: EMC / Isilon Storage Division r274016: Integrate pjdfstest test suite execution into kyua pjdfstest execution is opt-in and must be done as root due to some of the assumptions made by the test suite and lack of error checking in the non-root case A description of how to execute pjdfstest with kyua is provided in share/pjdfstest/README Phabric: D824 (an earlier prototype patch) Relnotes: yes Sponsored by: EMC / Isilon Storage Division
* MFC r271796 (by will):ngie2014-12-051-1/+1
| | | | | | | Use 'cc' for the C compiler instead of 'gcc'. Sponsored by: Spectra Logic MFSpectraBSD: 1079507 on 2014/07/24
* MFC:n_hibma2014-11-221-1/+1
| | | | | | | | | | | | | ------------------------------------------------------------------------ r274792 | n_hibma | 2014-11-21 15:53:42 +0100 (Fri, 21 Nov 2014) | 5 lines Simply remove the tmp dir before creating the symlink. We are doing chroots all over the place, so there is bound to be a stale file lying around in there (in my case samba lock files from creating accounts). If we don't do that, the symlink later will fail. ------------------------------------------------------------------------
* MFC r273360:np2014-11-171-1/+1
| | | | One of MAP_ANON, MAP_PRIVATE, MAP_SHARED, or MAP_STACK must be specified.
* MFC from the last few months:imp2014-11-1610-58/+148
| | | | | | | | | | | | | | | Note: didn't merge r274331 removing gif/faith on purpose. r268246 | mr | use mkimg and build into separate directories r269355 | imp | Fix typo in example script r269362 | imp | use rm -x on 10 and newer r269363 | imp | NANO_OBJ shouldn't end with '/' r269423 | imp | -K to suppress installkernel r269424 | imp | sort usage r269425 | imp | sort switch r269983 | imp | only install bootloader if it exists r269984 | imp | create_diskimage since it never was $ARCH dependent r270162 | imp | Add support for -X which instales cross native tools
* MFC r273627,r273628:ngie2014-11-151-3/+4
| | | | | | | | | | | | | | | | | | | r273627: - Print out "Bail out!" in die(..) so prove terminates immediately - Handle the output from newer versions of openssl md5, similar to what pjd@ did in r248304 Sponsored by: EMC / Isilon Storage Division r273628: Move the redirection to stderr out of the cmd variable assignment Putting 2>/dev/null in cmd= escapes the redirection operation, which causes mdconfig to think it's a filename Sponsored by: EMC / Isilon Storage Division
* MFV r273747:delphij2014-11-111-1/+2
| | | | | | | | | | Remove an extra copy of hv_kvp_daemon(8) [1]. While I'm there also correct typos in OptionalObsoleteFiles and add information of the command line options for hv_kvp_daemon(8). Reported by: jmg [1] Reviewed by: jmg
* MFC: 272962gnn2014-11-081-6/+39
| | | | | | | Add a new option, -P, to pkt-gen which reads a single packet from a stored pcap file and transmits it instead of the default UDP packet. Reviewed by: luigi
* MFC r271349:ngie2014-10-231-0/+9
| | | | | | | | | Add diagnostic printfs and disable test # 4 on i386 Reviewed by: jmmv, rpaulo Phabric: D749 PR: 191676 Sponsored by: EMC / Isilon Storage Division
* MFC r271336:ngie2014-10-231-19/+14
| | | | | | | | | Expand the tests structure in test_small(..) to workaround the "initializer not constant" warning with gcc Approved by: jmmv (mentor) Phabric: D744 Sponsored by: EMC / Isilon Storage Division
* Merge: r269884rodrigc2014-10-111-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Complete the usr.bin/yacc kyua integration work I originally submitted via r268811 - Install the Kyuafile by adding FILES to FILESGROUPS - Run the testcases with an unprivileged user Some of the testcases depend upon behavior that's broken when run as root on FreeBSD because of how permissions are treated with access(2) vs eaccess(2), open(2), etc - Simplify the test driver to just inspect the exit code from run_test because it now exits with 0 if successful and exits with !0 if unsuccessful - Don't do ad hoc temporary directory creation/deletion; let Kyua handle that - Add entries for files removed in r268811 to OptionalObsoleteFiles.inc PR: 191020 X-MFC with: r268811 Approved by: jmmv (mentor) Reviewed by: bapt Sponsored by: EMC / Isilon Storage Division
* MFC r271493,271688-271689,271696,271854,272139-272143:delphij2014-09-303-0/+12
| | | | | | | | | | | | Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. Approved by: re (gjb)
* Properly revert r272128.gjb2014-09-263-12/+0
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Revert r272149, which introduces obscure vestiges from thegjb2014-09-263-0/+12
| | | | | | | r272128 reversal. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Revert r272128:gjb2014-09-263-12/+0
| | | | | | | | | | | Though this passes the buildworld test, this fails during installworld with: make[3]: "/releng/scripts-release/chroots/10/i386/release/etc/devd/Makefile" line 13: Malformed conditional (${MK_HYPERV} != "no") Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC r271493,271688,271689,271696,271854:delphij2014-09-253-0/+12
| | | | | | | | | | | | Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. Approved by: re (gjb)
OpenPOWER on IntegriCloud