Home
last modified time | relevance | path

Searched hist:ea82362219ee715cfbb195b2114e73fdc8599fa5 (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/tests/sys/geom/class/mirror/
H A D8_test.shdiff 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 D10_test.shdiff 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 D11_test.shdiff 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 D12_test.shdiff 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 D13_test.shdiff 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 D1_test.shdiff 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 D2_test.shdiff 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 D3_test.shdiff 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 D4_test.shdiff 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 D5_test.shdiff 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 D6_test.shdiff 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 Dsendfile_test.shdiff 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 Dunion_test.shdiff 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 Dappend1.shdiff 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 Dappend2.shdiff 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 D2_test.shdiff 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 D1_test.shdiff 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 Dgeom_subr.shdiff 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 Dcache_test.shdiff 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 D10_test.shdiff 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 D2_test.shdiff 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 D3_test.shdiff 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 D5_test.shdiff 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 D7_test.shdiff 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 D1_test.shdiff 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

123