#
96950419 |
| 27-Nov-2023 |
Gleb Smirnoff <glebius@FreeBSD.org> |
tests: don't run atf_* in a subshell
Shell limitation is that a classic function call via $() is a subshell and atf-sh(3) commands won't work as epxected there. Subsequently, atf_skip inside a func
tests: don't run atf_* in a subshell
Shell limitation is that a classic function call via $() is a subshell and atf-sh(3) commands won't work as epxected there. Subsequently, atf_skip inside a function won't skip a test. The test will fail later.
A working approach is to pass desired variable name as argument to a function and don't run subshell.
Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D42646 Fixes: ea82362219ee715cfbb195b2114e73fdc8599fa5
show more ...
|
Revision tags: release/14.0.0 |
|
#
ea823622 |
| 02-Sep-2023 |
Warner Losh <imp@FreeBSD.org> |
tests: Skip all tests that require mdconfig when /dev/mdctl missing
When run in a jail, /dev/mdctl is missing. So skip any tests that use mdconfig or mdmfs with md in this case: they can't possibly
tests: Skip all tests that require mdconfig when /dev/mdctl missing
When run in a jail, /dev/mdctl is missing. So skip any tests that use mdconfig or mdmfs with md in this case: they can't possibly work. This is in line with other tests that test for presence of required features and skip if they aren't present. I did this instead of checking for jails so they can still run in jails that allow creation of md devices.
Sponsored by: Netflix
show more ...
|
#
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
504eda20 |
| 14-Dec-2017 |
Mark Johnston <markj@FreeBSD.org> |
Make indentation consistent with other tests, and use syncwait.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
|
Revision tags: release/10.4.0 |
|
#
083c8ded |
| 13-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r322451
|
#
0275f9db |
| 11-Aug-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r321383 through r322397.
|
#
d2ba5111 |
| 08-Aug-2017 |
Enji Cooper <ngie@FreeBSD.org> |
Make test scripts under tests/... non-executable
Executable bits should be set at install time instead of in the repo. Setting executable bits on files triggers false positives with Phabricator.
MF
Make test scripts under tests/... non-executable
Executable bits should be set at install time instead of in the repo. Setting executable bits on files triggers false positives with Phabricator.
MFC after: 2 months
show more ...
|
Revision tags: release/11.1.0 |
|
#
be27b311 |
| 04-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r317503 through r317807.
|
#
f55b9be8 |
| 03-May-2017 |
Mark Johnston <markj@FreeBSD.org> |
Add regression tests for r317712 and r306743.
MFC after: 2 weeks Sponsored by: Dell EMC Isilon
|