History log of /src/sbin/sysctl/tests/sysctl_test.sh (Results 1 – 12 of 12)
Revision Date Author Comments
# 26e31700 08-Jul-2025 Mark Johnston <markj@FreeBSD.org>

sysctl_test: Print standard error if sysctl -ao fails

MFC after: 1 week


# afc38f1f 31-Jan-2025 Mark Johnston <markj@FreeBSD.org>

sysctl: Add a regression test which runs sysctl -a

Run sysctl -a during the test suite so that KASAN/KMSAN have a chance to
catch something.

Inspired by https://jprx.io/cve-2024-54507/

Reviewed by

sysctl: Add a regression test which runs sysctl -a

Run sysctl -a during the test suite so that KASAN/KMSAN have a chance to
catch something.

Inspired by https://jprx.io/cve-2024-54507/

Reviewed by: jhb, emaste
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D48659

show more ...


# 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 ...


# f126d349 25-Dec-2022 Kirk McKusick <mckusick@FreeBSD.org>

Add -F option to sysctl(8) to display sysctl format.

Also add a test to ensure that it is working correctly.

Submitted by: ota_j.email.ne.jp
Reviewed by: mckusick
Differential Revision: https://re

Add -F option to sysctl(8) to display sysctl format.

Also add a test to ensure that it is working correctly.

Submitted by: ota_j.email.ne.jp
Reviewed by: mckusick
Differential Revision: https://reviews.freebsd.org/D34012

show more ...


# 26e31700 08-Jul-2025 Mark Johnston <markj@FreeBSD.org>

sysctl_test: Print standard error if sysctl -ao fails

MFC after: 1 week


# afc38f1f 31-Jan-2025 Mark Johnston <markj@FreeBSD.org>

sysctl: Add a regression test which runs sysctl -a

Run sysctl -a during the test suite so that KASAN/KMSAN have a chance to
catch something.

Inspired by https://jprx.io/cve-2024-54507/

Reviewed by

sysctl: Add a regression test which runs sysctl -a

Run sysctl -a during the test suite so that KASAN/KMSAN have a chance to
catch something.

Inspired by https://jprx.io/cve-2024-54507/

Reviewed by: jhb, emaste
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D48659

show more ...


# 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 ...


# f126d349 25-Dec-2022 Kirk McKusick <mckusick@FreeBSD.org>

Add -F option to sysctl(8) to display sysctl format.

Also add a test to ensure that it is working correctly.

Submitted by: ota_j.email.ne.jp
Reviewed by: mckusick
Differential Revision: https://re

Add -F option to sysctl(8) to display sysctl format.

Also add a test to ensure that it is working correctly.

Submitted by: ota_j.email.ne.jp
Reviewed by: mckusick
Differential Revision: https://reviews.freebsd.org/D34012

show more ...


# 26e31700 08-Jul-2025 Mark Johnston <markj@FreeBSD.org>

sysctl_test: Print standard error if sysctl -ao fails

MFC after: 1 week


# afc38f1f 31-Jan-2025 Mark Johnston <markj@FreeBSD.org>

sysctl: Add a regression test which runs sysctl -a

Run sysctl -a during the test suite so that KASAN/KMSAN have a chance to
catch something.

Inspired by https://jprx.io/cve-2024-54507/

Reviewed by

sysctl: Add a regression test which runs sysctl -a

Run sysctl -a during the test suite so that KASAN/KMSAN have a chance to
catch something.

Inspired by https://jprx.io/cve-2024-54507/

Reviewed by: jhb, emaste
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D48659

show more ...


# 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 ...


# f126d349 25-Dec-2022 Kirk McKusick <mckusick@FreeBSD.org>

Add -F option to sysctl(8) to display sysctl format.

Also add a test to ensure that it is working correctly.

Submitted by: ota_j.email.ne.jp
Reviewed by: mckusick
Differential Revision: https://re

Add -F option to sysctl(8) to display sysctl format.

Also add a test to ensure that it is working correctly.

Submitted by: ota_j.email.ne.jp
Reviewed by: mckusick
Differential Revision: https://reviews.freebsd.org/D34012

show more ...