Home
last modified time | relevance | path

Searched full:ztest (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/sys/contrib/openzfs/scripts/
H A Dzloop.sh46 [-I <max iterations>] [-- [extra ztest parameters]]
48 This script runs ztest repeatedly with randomized arguments.
49 If a crash is encountered, the ztest logs, any associated
52 after the -- end-of-options marker will be passed to ztest.
56 -f Specify working directory for ztest vdev files.
58 -l Create 'ztest.core.N' symlink to core directory.
106 prog=$ZTEST
120 df -h "$workdir" >>ztest.out
125 zdbcmd="$ZDB -U "$workdir/zpool.cache" -dddMmDDG ztest"
127 echo -e "$zdbcmd\n" >>ztest.zdb
[all …]
H A Dcommon.sh.in14 export ZTEST="${ZTEST:-$SBIN_DIR/ztest}"
/freebsd/cddl/usr.bin/ztest/tests/
H A Dztest.sh2 # Test Case: ztest
4 atf_test_case ztest
7 atf_set "descr" "Run ztest"
18 ztest ${ARGS}
34 atf_add_test_case ztest
42 TC_ARTIFACTS_DIR=`atf_config_get artifacts_dir`/cddl/usr.bin/ztest/$(atf_get ident)
48 mv *ztest*.core* $TC_ARTIFACTS_DIR || true
49 mv ${TC_CORE_DIR}/*ztest*.core* $TC_ARTIFACTS_DIR || true
H A DMakefile3 ATF_TESTS_SH+= ztest
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/
H A Dmmp_active_import.ksh27 # 1. Simulate an active pool on another host with ztest.
30 # 4. Kill ztest to make pool eligible for import.
47 ZTESTPID=$(pgrep ztest)
53 # if ztest not running and log present, ztest crashed
55 log_note "ztest appears to have crashed. Tail of log:"
64 # 1. Simulate an active pool on another host with ztest.
87 # 4. Kill ztest to make pool eligible for import. Poll with 'zpool status'.
88 ZTESTPID=$(pgrep ztest)
H A Dmmp.kshlib115 log_note "Starting ztest in the background as hostid $HOSTID1"
116 log_must eval "ZFS_HOSTID=$HOSTID1 ztest $opts >$MMP_ZTEST_LOG 2>&1 &"
119 log_must pgrep ztest
129 ZTESTPID=$(pgrep ztest)
H A Dmmp.cfg35 export MMP_ZTEST_LOG=$MMP_DIR/ztest.log
/freebsd/sys/contrib/openzfs/man/man1/
H A Dztest.132 .Nm ztest
110 .Pa ztest.*
161 .It Fl p , -pool-name Ns = (default: Sy ztest )
176 .It Fl B , -alt-ztest Ns =
178 .Nm ztest
211 .Dl # ztest -f /
216 .Dl # ztest -f / -VVV
219 .Nm ztest
223 .Dl # ztest -f / -V -T 120
236 results with utilities other than ztest are undefined.
H A Dzhack.1166 .Xr ztest 1 ,
H A Draidz_test.1102 .Xr ztest 1
/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzloop.yml51 - name: Ztest log
54 grep -B10 -A1000 'ASSERT' $TEST_DIR/*/ztest.out || tail -n 1000 $TEST_DIR/*/ztest.out
58 sed -n '/Backtraces (full)/q;p' $TEST_DIR/*/ztest.gdb
62 cat $TEST_DIR/*/ztest.zdb
/freebsd/sys/contrib/openzfs/cmd/
H A DMakefile.am44 sbin_PROGRAMS += ztest program
45 CPPCHECKTARGETS += ztest
48 %D%/ztest.c
H A Dztest.c37 * The overall design of the ztest program is as follows:
61 * testing is enabled ztest will sometimes run the "older" version
62 * of ztest after a SIGKILL.
73 * When run with no arguments, ztest runs for about five minutes and
84 * When ztest invokes itself it passes all relevant information through a
89 * must remain backwards compatible with older versions of ztest so that
90 * ztest can invoke them during backwards compatibility testing (-B).
212 #define DEFAULT_POOL "ztest"
627 zfs_dbgmsg_print(STDERR_FILENO, "ztest"); in dump_debug_buffer()
665 (void) sprintf(buf, "ztest: "); in fatal()
[all …]
/freebsd/sys/contrib/openzfs/contrib/debian/
H A Dopenzfs-zfs-test.install1 sbin/ztest
5 usr/share/man/man1/ztest.1
/freebsd/cddl/usr.bin/ztest/
H A DMakefile9 PROG= ztest
10 MAN= ztest.1
/freebsd/lib/msun/tests/
H A Dnext_test.c97 #define ztest(prec) \ in ATF_TC_BODY() macro
103 ztest(); in ATF_TC_BODY()
104 ztest(f); in ATF_TC_BODY()
105 ztest(l); in ATF_TC_BODY()
106 #undef ztest in ATF_TC_BODY()
/freebsd/sys/contrib/openzfs/lib/
H A DMakefile.am8 # used to implement debugging tools (zdb) and code validation tools (ztest).
12 # CMDS: zhack/ztest/ zfs/zpool/zed/
/freebsd/cddl/usr.bin/
H A DMakefile12 ztest \
/freebsd/targets/pseudo/userland/cddl/
H A DMakefile.depend34 cddl/usr.bin/ztest \
/freebsd/sys/contrib/openzfs/
H A DTEST7 ### ztest
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dcommands.cfg170 ztest
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/removal/
H A Dremove_expanded.ksh28 # ztest hit an issue where it ran zdb and zdb failed because
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/log_spacemap/
H A Dlog_spacemap_import_logs.ksh29 # are not tested outside of ztest and pools with DEBUG bits doing
/freebsd/sys/contrib/openzfs/module/icp/
H A Dillumos-crypto.c55 * compiled and used in both userspace and kernel space (for ztest and
/freebsd/sys/contrib/openzfs/lib/libspl/include/
H A Dumem.h36 * something other than ztest, you are likely not going to notice or care.

12