/freebsd/tests/sys/geom/class/mirror/ |
H A D | 8_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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 diff ea82362219ee715cfbb195b2114e73fdc8599fa5 Sat Sep 02 21:12:31 CEST 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 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
|
H A D | 10_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 11_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 12_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 13_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 1_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 2_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 3_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 4_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 5_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 6_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
/freebsd/tests/sys/kern/ |
H A D | sendfile_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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 diff ea82362219ee715cfbb195b2114e73fdc8599fa5 Sat Sep 02 21:12:31 CEST 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 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
|
/freebsd/tests/sys/geom/class/union/ |
H A D | union_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
/freebsd/tests/sys/geom/class/concat/ |
H A D | append1.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | append2.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 2_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 1_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
/freebsd/tests/sys/geom/class/ |
H A D | geom_subr.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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 diff ea82362219ee715cfbb195b2114e73fdc8599fa5 Sat Sep 02 21:12:31 CEST 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 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
|
/freebsd/tests/sys/cddl/zfs/tests/cache/ |
H A D | cache_test.sh | diff ea82362219ee715cfbb195b2114e73fdc8599fa5 Sat Sep 02 21:12:31 CEST 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 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
|
/freebsd/tests/sys/geom/class/raid3/ |
H A D | 10_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 2_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 3_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 5_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
H A D | 7_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|
/freebsd/tests/sys/geom/class/shsec/ |
H A D | 1_test.sh | diff 96950419f15510287080c557174e0d8409f06956 Mon Nov 27 22:15:58 CET 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 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
|