#
296a5a4d |
| 22-Nov-2023 |
Kyle Evans <kevans@FreeBSD.org> |
lockf: add some tests
Provide basic coverage for the existing options, nothing deeper (e.g., pipe closing behavior) is tested in this set.
Reviewed by: allanjude Feedback from: des Sponsored by: Kl
lockf: add some tests
Provide basic coverage for the existing options, nothing deeper (e.g., pipe closing behavior) is tested in this set.
Reviewed by: allanjude Feedback from: des Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D42714
show more ...
|
#
7aa3bf69 |
| 23-Nov-2023 |
John Baldwin <jhb@FreeBSD.org> |
etc/mtree: Remove entry for /usr/tests/usr.sbin/mixer
These were removed when the new mixer(3) library was imported, and I missed updating the mtree file when I added the entries to ObsoleteFiles.in
etc/mtree: Remove entry for /usr/tests/usr.sbin/mixer
These were removed when the new mixer(3) library was imported, and I missed updating the mtree file when I added the entries to ObsoleteFiles.inc.
Fixes: 903873ce1560 Implement and use new mixer(3) library for FreeBSD.
show more ...
|
#
55141f2c |
| 16-Nov-2023 |
Yan-Hao Wang <bses30074@gmail.com> |
Add tests for gunion(8)
Reviewed by: mckusick (earlier version) MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41645
|
#
c989957f |
| 25-Sep-2023 |
Wang-Yan-Hao <bses30074@gmail.com> |
printenv: Add test for printenv.
Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D41468
|
#
4fbb9c43 |
| 07-Sep-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
include: Add tests for N2867.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D41735
|
#
fcace290 |
| 22-Jun-2023 |
Jake Freeland <jfree@FreeBSD.org> |
syslogd: Add some basic regression tests
Reviewed by: markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41403
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
#
8920c5f2 |
| 08-Aug-2023 |
Dmitry Chagin <dchagin@FreeBSD.org> |
tests: Add stack grows tests
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D41320 MFC after: 2 weeks
|
#
b5a3a89c |
| 31-Jul-2023 |
Martin Matuska <mm@FreeBSD.org> |
unzip: swtich to bsdunzip from libarchive
Unzip from FreeBSD has been ported to libarchive. Change usr.bin/unzip to use bsdunzip from libarchive.
Differential Revision: https://reviews.freebsd.org/
unzip: swtich to bsdunzip from libarchive
Unzip from FreeBSD has been ported to libarchive. Change usr.bin/unzip to use bsdunzip from libarchive.
Differential Revision: https://reviews.freebsd.org/D41239 PR: 272845 (exp-run) MFC after: 1 month
show more ...
|
#
215bab79 |
| 25-Jul-2023 |
Shivank Garg <shivank@freebsd.org> |
mac_ipacl: new MAC policy module to limit jail/vnet IP configuration
The mac_ipacl policy module enables fine-grained control over IP address configuration within VNET jails from the base system. It
mac_ipacl: new MAC policy module to limit jail/vnet IP configuration
The mac_ipacl policy module enables fine-grained control over IP address configuration within VNET jails from the base system. It allows the root user to define rules governing IP addresses for jails and their interfaces using the sysctl interface.
Requested by: multiple Sponsored by: Google, Inc. (GSoC 2019) MFC after: 2 months Reviewed by: bz, dch (both earlier versions) Differential Revision: https://reviews.freebsd.org/D20967
show more ...
|
#
2597c45a |
| 07-Jul-2023 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
Complete moving kinst of dtrace tests to common
Update its mtree entry.
Reviewed by: christos, markj Fixes: 911f0260390e dtrace: move kinst tests to common Sponsored by: The FreeBSD Foundation Diff
Complete moving kinst of dtrace tests to common
Update its mtree entry.
Reviewed by: christos, markj Fixes: 911f0260390e dtrace: move kinst tests to common Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D40901
show more ...
|
#
b7412da2 |
| 15-Jun-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
asa: Add some unit tests.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D40564
|
#
9f44a47f |
| 11-Jun-2023 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
ipfw(8): add ioctl/instruction generation tests
Differential Revision: https://reviews.freebsd.org/D40488 MFC after: 2 weeks
|
#
c60be9ea |
| 27-May-2023 |
Enji Cooper <ngie@FreeBSD.org> |
Add simple factor/primes regression tests
This will help ensure that the change following this one to support OpenSSL 3 is sane.
MFC after: 1 week Reviewed by: emaste Differential Revision: https:/
Add simple factor/primes regression tests
This will help ensure that the change following this one to support OpenSSL 3 is sane.
MFC after: 1 week Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40297
show more ...
|
#
ccb59683 |
| 15-May-2023 |
Kyle Evans <kevans@FreeBSD.org> |
arm64: add tests for swp/swpb emulation
One test is suitable to be hooked up to the build, so I've done this here. The other test lives in tools/regression because failure is a bit more subjective
arm64: add tests for swp/swpb emulation
One test is suitable to be hooked up to the build, so I've done this here. The other test lives in tools/regression because failure is a bit more subjective -- generally, one runs it for some unbounded amount of time and observe if it eventually exits because two threads acquired the same mutex.
Reviewed by: imp, mmel Sponsored by: Stormshield Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D39668
show more ...
|
#
09aee570 |
| 10-May-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
tsort: Add unit tests.
MFC after: 1 week Sponsored by: Klara, Inc. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D40043
|
#
64c2a712 |
| 10-Mar-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
tftp: Add tests.
Sponsored by: Klara, Inc. Reviewed by: asomers Differential Revision: https://reviews.freebsd.org/D38969
|
#
0c428864 |
| 01-Mar-2023 |
Kyle Evans <kevans@FreeBSD.org> |
sysctl: tests: fix a couple issues
The function that sets test case metadata is actually named ${tc}_head rather than ${tc}, so add the suffix.
While we're here, hook the tests up to the infrastruc
sysctl: tests: fix a couple issues
The function that sets test case metadata is actually named ${tc}_head rather than ${tc}, so add the suffix.
While we're here, hook the tests up to the infrastructure so that they do get run.
Sponsored by: Klara, Inc.
show more ...
|
#
dad64f0e |
| 14-Feb-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
wc: Clean up and modernize.
* Drop <err.h>, which is unnecessary since we use libxo.
* As per POSIX, report an error if output fails.
* Fix some type mismatches.
* Use bool instead of int where a
wc: Clean up and modernize.
* Drop <err.h>, which is unnecessary since we use libxo.
* As per POSIX, report an error if output fails.
* Fix some type mismatches.
* Use bool instead of int where appropriate.
* Avoid repeatedly checking for a null filename.
* Miscellaneous other tidying.
* Add tests (partly derived from work performed by SHENG-YI HONG <i19780219111@kimo.com>).
Sponsored by: Klara, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D38496
show more ...
|
#
e7ab1336 |
| 01-Feb-2023 |
Mateusz Piotrowski <0mp@FreeBSD.org> |
timeout: Move from /usr/bin to /bin
timeout(1) is used by /etc/rc.d/zfskeys. Unfortunately, having timeout(1) installed in /usr/bin causes problems when /usr is an encrypted ZFS partition.
Implemen
timeout: Move from /usr/bin to /bin
timeout(1) is used by /etc/rc.d/zfskeys. Unfortunately, having timeout(1) installed in /usr/bin causes problems when /usr is an encrypted ZFS partition.
Implementing timeout(1) in sh(1) is not trivial. A more elegant solution is to move timeout(1) to /bin so that it is available to early services in the boot process.
PR: 265221 Reviewed by: allanjude, des, imp Approved by: allanjude, des, imp Reported by: Ivan <r4@sovserv.ru> Fixes: 33ff39796ffe Add zfskeys rc.d script for auto-loading encryption keys MFC after: 1 week Relnotes: yes Sponsored by: Modirum MDPay Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D38344
show more ...
|
#
69d94f4c |
| 02-Feb-2023 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Add tarfs, a filesystem backed by tarballs.
Sponsored by: Juniper Networks, Inc. Sponsored by: Klara, Inc. Reviewed by: pauamma, imp Differential Revision: https://reviews.freebsd.org/D37753
|
#
c3ca3fa7 |
| 06-Jan-2023 |
Gleb Smirnoff <glebius@FreeBSD.org> |
tests: add test for ipfw fwd localaddr,port
Checks basic forward to local address, also with presence of a listener that matches original port (see aab8c844b91). Based on non-ATF test case written b
tests: add test for ipfw fwd localaddr,port
Checks basic forward to local address, also with presence of a listener that matches original port (see aab8c844b91). Based on non-ATF test case written by Pavel Polyakov.
Reviewed by: kp, melifaro Differential revision: https://reviews.freebsd.org/D37960
show more ...
|
#
8161b823 |
| 01-Jan-2023 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
testing: add python test examples
Simplify the adoption of python tests by proving some examples, utilising commonly-used patterns.
Differential Revision: https://reviews.freebsd.org/D37902 Review
testing: add python test examples
Simplify the adoption of python tests by proving some examples, utilising commonly-used patterns.
Differential Revision: https://reviews.freebsd.org/D37902 Reviewed by: asomers MFC after: 2 weeks
show more ...
|
#
80f03e63 |
| 14-Dec-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netlink: improve interface handling
* Separate interface creation from interface modification code * Support setting some interface attributes (ifdescr, mtu, up/down, promisc) * Improve interaction
netlink: improve interface handling
* Separate interface creation from interface modification code * Support setting some interface attributes (ifdescr, mtu, up/down, promisc) * Improve interaction with the cloners requiring to parse/write custom interface attributes * Add bitmask-based way of checking if the attribute is present in the message * Don't use multipart RTM_GETLINK replies when searching for the specific interface names * Use ENODEV instead of ENOENT in case of failed RTM_GETLINK search * Add python netlink test helpers * Add some netlink interface tests
Differential Revision: https://reviews.freebsd.org/D37668
show more ...
|
#
ac6f924e |
| 31-Oct-2022 |
Kyle Evans <kevans@FreeBSD.org> |
mktemp: add -p/--tmpdir argument
This matches other mktemp implementations, including OpenBSD and GNU. The -p option can be used to provide a tmpdir prefix for specified templates. Precedence works
mktemp: add -p/--tmpdir argument
This matches other mktemp implementations, including OpenBSD and GNU. The -p option can be used to provide a tmpdir prefix for specified templates. Precedence works out like so:
-t flag: - $TMPDIR - -p directory - /tmp
Implied -t flag (no arguments or only -d flag): - -p directory - $TMPDIR - /tmp
Some tests have been added for mktemp(1) in the process.
Reviewed by: imp (earlier version), wosch Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D37121
show more ...
|