summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
| * MFC r290567:ngie2015-11-161-0/+2
| | | | | | | | | | | | Add some basic tests that exercise cputime limits with limits(1) Sponsored by: EMC / Isilon Storage Division
| * MFC r289446:ngie2015-11-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate tools/regression/acltools into the FreeBSD test suite as tests/sys/acl - Make the requirements more complete for the testcases - Detect prerequisites so the tests won't fail (zfs.ko is loaded, zpool(1) is available, ACL support is enabled with UFS, etc). - Work with temporary files/directories/mountpoints that work with atf/kyua - Limit the testcases to work on temporary filesystems to reduce tainting the test host Reviewed by: trasz (earlier version) Differential Revision: https://reviews.freebsd.org/D3810
| * MFC r289195:ngie2015-11-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in to the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. Sponsored by: EMC / Isilon Storage Division Conflicts: lib/libarchive/test usr.bin/cpio/test
* | Merge remote-tracking branch 'origin/stable/10' into develRenato Botelho2015-11-111-0/+8
|\ \ | |/
| * MFC r289739,r289743,r289897,r289901:ngie2015-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r289739: Correctly reintroduce the rudimentary smoke tests I botched up in r289684 Sponsored by: EMC / Isilon Storage Division r289743: Revise "create_test_inputs" to simplify the file structure as these testcases don't need to be nested as much as bin/ls/ls_tests.sh do when verifying ls -a, ls -A, etc. This allows the tests to make all paths relative to the top of the temporary directory instead of always tacking on $ATF_TMPDIR, thus complicating things unnecessarily Create non-empty files in create_test_inputs as well now, similar to create_test_inputs2 in bin/ls/ls_tests.sh Compare the input files to the output file contents using diff where possible: - Skip over the fifo comparison for now because it always fails - Skip over the symlink comparison on cd9660 because it always fails today Sponsored by: EMC / Isilon Storage Division r289897: Add more cd9660/FFS makefs testcases General changes: - Parameterize out the mount command. - Use mtree to verify the contents of an image (check_image_contents) instead of using diff (diff verifies content, but not file metadata). - Move common logic out to functions (common_cleanup, mount_image, check_image_contents) - Add stub testcases for makefs -D (crashes with SIGBUS, similar to bug # 192839) - Add a note about the ISO-9660 and rockridge specs - Add testcases that exercise: -- Creating disk images from an mtree and multiple directories. -- -F flag use (not really an extensive testcase right now) cd9660-specific test changes: - Remove an XXX comment about symlinks; I forgot that non-rockridge images turn symlinks into hardlinks. - Add testcases that exercise: -- -o allow-deep-trees -- -o allow-max-name stub testcase (doesn't seem to be implemented in makefs) -- -o preparer (existence in image; not conformance to spec) -- -o publisher (existence in image; not conformance to spec) -- -o rockridge (basic) Sponsored by: EMC / Isilon Storage Division r289901: Remove an ls -l I was using for debugging Sponsored by: EMC / Isilon Storage Division
| * MFC r289441:ngie2015-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Integrate tools/test/posixshm and tools/regression/posixshm into the FreeBSD test suite as tests/sys/posixshm Some other highlights: - Convert the testcases over to ATF - Don't use hardcoded paths to /tmp (which violate the ATF/kyua samdbox); use mkstemp to generate temporary paths for non-SHM_ANON shm objects. Sponsored by: EMC / Isilon Storage Division
| * MFC r290177:ngie2015-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | Integrate contrib/netbsd-tests/lib/libc/rpc into the FreeBSD test suite as lib/libc/rpc This testcase requires rpcbind be up in running; otherwise the testcases will time out and be skipped Sponsored by: EMC / Isilon Storage Division
| * MFC r289487:ngie2015-11-091-0/+2
| | | | | | | | | | | | | | | | | | | | Integrate contrib/netbsd-tests/bin/dd into the FreeBSD test suite as bin/dd/tests Ensure fdescfs is mounted on /dev/fd/ for the length testcase as it's used in validating the characters read from /dev/zero Sponsored by: EMC / Isilon Storage Division
* | Merge branch 'stable/10' into develRenato Botelho2015-11-0312-48/+62
|\ \ | |/
| * MFC r290163: Ignore per-mdN settings in mdconfig[2] startupdteske2015-11-022-0/+4
| | | | | | | | | | PR: base/189696 Submitted by: ganael.laplanche@martymac.org
| * MFC r262957, r267591, r289634:gjb2015-10-287-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r262957 (marcel): Change the terminal type/class for enabled serial lines to 3wire. This allows us to change the uart(4) driver to not hardcode specific line settings for the serial console. A terminal type of 3wire makes sure the console still works when no DCD signal is present, which preserves behviour. When it is known that the terminal server (or DCE in general) provides DCD, a terminal type/class of std can be used. This has the effect of being logged out when one disconnects from the console -- improving security overall. r267591 (grehan): Convert the potential console port over to using 3wire, for i386/amd64. r289634: Enable all callin ttys if the tty is an available console. Sponsored by: The FreeBSD Foundation
| * MFC r286163: rc.subr: Allow rc.conf.d with multi-directory local_startup.jilles2015-10-271-1/+2
| | | | | | | | | | | | | | | | I also changed ${...%*/rc.d} to ${...%/rc.d} since the shortest match always has an empty string for the asterisk. PR: 201641 Submitted by: Jamie Landeg-Jones (original version)
| * Fix indentation in etc/rc.d/fsck.vangyzen2015-10-271-1/+1
| |
| * MFH (r275359, r290007): make load_rc_config's name argument optionaldes2015-10-261-19/+22
| |
| * MFC r289300:ngie2015-10-261-0/+2
| | | | | | | | | | | | Integrate tools/regression/vfs into the FreeBSD test suite as tests/sys/vfs Sponsored by: EMC / Isilon Storage Division
| * MFC r282339,r282341:ngie2015-10-261-0/+2
| | | | | | | | | | | | | | | | | | | | r282339 (by bapt): Add regression test about reverse line feed to col(1) r282341 (by bapt): Actually push the right tests
| * MFC r288330,r288423,r288678,r288905,r288906,r288907,r289102:ngie2015-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r288330: Add initial testcases for bin/ls Sponsored by: EMC / Isilon Storage Division r288423: Skip the B_flag testcase to stop blowing up freebsd-current@ with "test failure emails" because kyua report-jenkins doesn't properly escape non-printable chars r288678: Merge additional testcases and improvements to bin/ls/ls_tests from ^/user/ngie/more-tests. - Additional testcases added: -- ls -D -- ls -F -- ls -H -- ls -L -- ls -R -- ls -S -- ls -T -- ls -b -- ls -d -- ls -f -- ls -g -- ls -h -- ls -i -- ls -k -- ls -l -- ls -m -- ls -n -- ls -o -- ls -p -- ls -q/ls -w -- ls -r -- ls -s -- ls -t -- ls -u -- ls -y - Socket file creation is limited to the ls -F testcase, greatly speeding up the test process - The ls -C testcase was made more robust by limiting the number of columns via COLUMNS and by dynamically formulating the columns/lines. - Add `atf_test_case` before all testcase `head` functions. Sponsored by: EMC / Isilon Storage Division r288905: Add some more syncs to quiesce the filesystem after creating the files to see if this fixes deterministic Jenkin failures r288906: Explicitly set BLOCKSIZE to 512 in the environment r288907: Call sync consistently using atf_check Remove superfluous sync's r289102: Remove all of the syncs They're unnecessary as shown by further testing on my VM Requested by: jhb
* | Merge branch 'stable/10' into develRenato Botelho2015-10-214-4/+13
|\ \ | |/
| * MFC r287951:trasz2015-10-183-3/+3
| | | | | | | | | | | | | | The "automount" rc script should depend on "automountd", not the other way around. Sponsored by: The FreeBSD Foundation
| * MFC r288390:bdrewery2015-10-131-1/+10
| | | | | | | | | | | | | | | | When stopping ugidfw, it is not enough to just try unloading the module. If the module is built-in to the kernel then the kldunload will fail. Rather than do this just check if there are rules and then remove them all. Relnotes: yes
* | MFC r275732:Luiz Otavio O Souza2015-10-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some new modes to OpenCrypto. These modes are AES-ICM (can be used for counter mode), and AES-GCM. Both of these modes have been added to the aesni module. Included is a set of tests to validate that the software and aesni module calculate the correct values. These use the NIST KAT test vectors. To run the test, you will need to install a soon to be committed port, nist-kat that will install the vectors. Using a port is necessary as the test vectors are around 25MB. All the man pages were updated. I have added a new man page, crypto.7, which includes a description of how to use each mode. All the new modes and some other AES modes are present. It would be good for someone else to go through and document the other modes. A new ioctl was added to support AEAD modes which AES-GCM is one of them. Without this ioctl, it is not possible to test AEAD modes from userland. Add a timing safe bcmp for use to compare MACs. Previously we were using bcmp which could leak timing info and result in the ability to forge messages. Add a minor optimization to the aesni module so that single segment mbufs don't get copied and instead are updated in place. The aesni module needs to be updated to support blocked IO so segmented mbufs don't have to be copied. We require that the IV be specified for all calls for both GCM and ICM. This is to ensure proper use of these functions. Obtained from: p4: //depot/projects/opencrypto Relnotes: yes Sponsored by: FreeBSD Foundation Sponsored by: NetGate TAG: IPSEC-HEAD Issue: #4841
* | Merge branch 'stable/10' into develRenato Botelho2015-10-071-8/+3
|\ \ | |/
| * MFC r279248: Unconditionally install debug directory hierarchyemaste2015-09-241-8/+3
| | | | | | | | | | | | | | | | | | This avoids various failure modes (e.g., when building and installing a single binary with debug data on a system that otherwise does not have it enabled). It is also consistent with the way other directory hierarchies are handled (e.g. share/man).
* | Merge branch 'stable/10' into develRenato Botelho2015-09-221-1/+5
|\ \ | |/
| * Long overdue MFC r285444:jlh2015-09-221-1/+5
| | | | | | | | | | | | | | Allow again periodic scripts to be run from command-line. PR: 188109 Submitted by: Jason Unovitch
* | Merge branch 'stable/10' into develRenato Botelho2015-09-223-10/+16
|\ \ | |/
| * MFC 287615:hrs2015-09-131-5/+4
| | | | | | | | Use read to parse a line instead of set.
| * MFC 287614:hrs2015-09-131-4/+11
| | | | | | | | | | - Add uid check. - Report delay<0 as a warning.
| * MFC 287613:hrs2015-09-131-1/+1
| | | | | | | | | | | | | | Update only static routes when an interface is specified. This fixed a bad side-effect reported in PR 202144. PR: 202144
* | Merge branch 'stable/10' into develRenato Botelho2015-09-111-0/+4
|\ \ | |/
| * Put timeout directory in correct placerodrigc2015-09-031-2/+2
| |
| * MFC r286964asomers2015-09-031-0/+2
| | | | | | | | Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet.
| * MFC: r268745,r268746,r268747,r268748,r268749,r268861,r268750,r268751,r268763bapt2015-09-021-0/+2
| | | | | | | | | | | | | | | | r273769,r273771,r276771,r278810 New BSDL timeout(1) utility compatible with GNU timeout Relnotes: yes
* | Merge branch 'stable/10' into develRenato Botelho2015-08-261-23/+15
|\ \ | |/
| * MFH: r284691julian2015-08-241-23/+15
| | | | | | | | | | | | | | | | | | MFH: r284920 Remove 16 rules and replace by 2 by using a table. I've been doing this ever since there were tables. I could make more efficient by using "in recv" and "out xmit" instead of via but I'll leave that.
* | Importing pfSense patch pam_remove_nullok.diffRenato Botelho2015-08-172-2/+2
|/
* MFC r257077:garga2015-08-111-4/+0
| | | | | | | | Cleanup empty directories PR: 167133 Approved by: loos Sponsored by: Netgate
* MFC r286375:delphij2015-08-061-1/+0
| | | | Now that stable/8 is EOL, stop building INDEX-8.
* MFC r285675:trasz2015-08-021-1/+0
| | | | | | Remove a comment in the wrong place. Sponsored by: The FreeBSD Foundation
* MFC r274841hrs2015-07-231-5/+0
| | | | | | | | Remove examples of gif_interfaces and gifconfig. These have already been marked as deprecated in rc.conf(5) manual page but these examples were still here. Approved by: re (gjb)
* MFC r273201, r273301:hrs2015-07-231-3/+21
| | | | | | | | | | Add support of "/{udp,tcp,proto}" suffix into $firewall_myservices, which interpreted the listed items as port numbers of TCP services. A service with no suffix still works and recognized as a TCP service for backward compatibility. It should be updated with /tcp suffix. Approved by: re (gjb)
* MFC r285253 (hrs):gjb2015-07-201-0/+1
| | | | | | | | | | | - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6 for a long time, quota(1) utility supported only PF_INET. - Clean up confusing changes in f_mntfromname. - Add an entry for rquotad with rpc/udp6 to inetd.conf. PR: 194084 Approved by: re (kib) Sponsored by: The FreeBSD Foundation
* MFC r280849,280915-280916,281015-281016,282097,282408,282415,283542,delphij2015-07-152-2/+16
| | | | | | | | | 284864,285169-285170,285435: ntp 4.2.8p3. Relnotes: yes Approved by: re (?)
* MFC: r284930brueffer2015-07-131-0/+2
| | | | | | | | Add CouchDB ports (5984 TCP/UDP). PR: 193268 Submitted by: yuri@rawbw.com Approved by: re (gjb)
* MFC: Minor changes to force commit these files so new freebsd*.cf filesgshapiro2015-07-092-2/+0
| | | | | | are built to use the new sendmail-8.15.2/cf tree. Approved by: re (gjb)
* MFH (r270391): don't set rc_debug in /etc/defaults/rc.confdes2015-06-301-1/+1
|
* MFC r284683:gjb2015-06-241-3/+3
| | | | | | | | | | | | | | Enable ttyu1, ttyu2, ttyu3 for arm installations. This should make all consoles available, whether it is VGA, HDMI, serial, or JTAG, but more importantly enables all consoles when ttyu0 is not predictable. For example, the Pandaboard ES apparently has three consoles available, but the DB9/RS232 serial port is ttyu2, so not available by default after the system boots. Sponsored by: The FreeBSD Foundation
* Revert r284516, which broke the build in a way I do not fullygjb2015-06-171-2/+0
| | | | | | understand yet. I'll redo this MFC after investigation. Sponsored by: The FreeBSD Foundation
* MFC r283989:gjb2015-06-171-0/+2
| | | | | | | Implement endian-aware services_mkdb(8) in the 'distribute' target. Sponsored by: The FreeBSD Foundation
* MFC r273955,274060,274164: Add /etc/rc.d/growfs script.cperciva2015-06-052-0/+97
|
OpenPOWER on IntegriCloud