Home
last modified time | relevance | path

Searched full:scenarios (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_006_neg.ksh36 # Verify 'zfs get all' can deal with invalid scenarios
39 # 1. Define invalid scenarios for 'zfs get all'
40 # 2. Run zfs get with those invalid scenarios
41 # 3. Verify that zfs get fails with invalid scenarios
46 log_assert "Verify 'zfs get all' fails with invalid combination scenarios."
69 log_pass "'zfs get all' fails with invalid combinations scenarios as expected."
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_get/
H A Dzfs_get_006_neg.ksh36 # Verify 'zfs get all' can deal with invalid scenarios
39 # 1. Define invalid scenarios for 'zfs get all'
40 # 2. Run zfs get with those invalid scenarios
41 # 3. Verify that zfs get fails with invalid scenarios
55 log_assert "Verify 'zfs get all' fails with invalid combination scenarios."
73 log_pass "'zfs get all' fails with invalid combinations scenarios as expected."
/freebsd-src/tools/regression/security/proc_to_proc/
H A Dscenario.c87 * Table of scenarios.
89 static const struct scenario scenarios[] = { variable
137 int scenarios_count = sizeof(scenarios) / sizeof(struct scenario);
281 error = cred_set(scenarios[scenario].sc_cred2); in enact_scenario()
314 error = cred_set(scenarios[scenario].sc_cred1); in enact_scenario()
337 scenarios[scenario].sc_canptrace_errno; in enact_scenario()
351 scenarios[scenario].sc_canktrace_errno; in enact_scenario()
359 scenarios[scenario].sc_cansighup_errno; in enact_scenario()
366 scenarios[scenario].sc_cansigsegv_errno; in enact_scenario()
373 scenarios[scenario].sc_cansee_errno; in enact_scenario()
[all …]
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_008_pos.ksh37 # 'zpool create' have to use '-f' scenarios
40 # 1. Prepare the scenarios
66 log_assert "'zpool create' have to use '-f' scenarios"
90 log_pass "'zpool create' have to use '-f' scenarios"
H A Dzpool_create_011_neg.ksh43 # 1. Create case scenarios
64 log_assert "'zpool create' should be failed with inapplicable scenarios."
91 # Set up the testing scenarios parameters
139 log_pass "'zpool create' is failed as expected with inapplicable scenarios."
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_005_neg.ksh36 # Verify 'zfs receive' fails with unsupported scenarios.
43 # 1. Preparation for unsupported scenarios
67 log_assert "Verify 'zfs receive' fails with unsupported scenarios."
97 log_pass "Unsupported scenarios to 'zfs receive' fail as expected."
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_002_neg.ksh36 # "zfs snapshot -r" fails with invalid arguments or scenarios.
37 # The invalid scenarios may include:
64 log_assert "'zfs snapshot -r' fails with invalid arguments or scenarios. "
97 log_pass "'zfs snapshot -r' fails with invalid arguments or scenarios as expected."
H A Dzfs_snapshot_001_neg.ksh37 # Try each 'zfs snapshot' with inapplicable scenarios to make sure
104 log_assert "Badly-formed 'zfs snapshot' with inapplicable scenarios " \
116 log_pass "Badly formed 'zfs snapshot' with inapplicable scenarios " \
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zpool_create/
H A Dzpool_create_008_pos.ksh36 # 'zpool create' have to use '-f' scenarios
39 # 1. Prepare the scenarios
55 log_assert "'zpool create' have to use '-f' scenarios"
75 log_pass "'zpool create' have to use '-f' scenarios"
H A Dzpool_create_011_neg.ksh42 # 1. Create case scenarios
70 log_assert "'zpool create' should be failed with inapplicable scenarios."
94 # Set up the testing scenarios parameters
135 log_pass "'zpool create' is failed as expected with inapplicable scenarios."
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/
H A Dzfs_receive_005_neg.ksh36 # Verify 'zfs receive' fails with unsupported scenarios.
43 # 1. Preparation for unsupported scenarios
78 log_assert "Verify 'zfs receive' fails with unsupported scenarios."
108 log_pass "Unsupported scenarios to 'zfs receive' fail as expected."
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/
H A Dzfs_snapshot_002_neg.ksh35 # "zfs snapshot -r" fails with invalid arguments or scenarios.
36 # The invalid scenarios may include:
73 log_assert "'zfs snapshot -r' fails with invalid arguments or scenarios. "
106 log_pass "'zfs snapshot -r' fails with invalid arguments or scenarios as expected."
/freebsd-src/tests/sys/cddl/zfs/tests/hotspare/
H A Dhotspare_create_001_neg.ksh46 # 1. Create case scenarios
78 "with inapplicable scenarios."
99 # Set up the testing scenarios parameters
132 log_pass "'zpool create [-f]' with hot spare is failed as expected with inapplicable scenarios."
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dzfs_set_003_neg.ksh41 # 1. Create invalid scenarios
57 log_assert "'zfs set mountpoint/sharenfs' fails with invalid scenarios"
80 log_pass "'zfs set mountpoint/sharenfs' fails with invalid scenarios as expected."
/freebsd-src/tools/test/stress2/misc/
H A DREADME1 This directory contains various test scenarios. Most are regression
4 The script "all.sh" will run all the test scenarios forever.
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_009_neg.ksh37 # Try each 'zfs mount' with inapplicable scenarios to make sure
94 log_assert "Badly-formed 'zfs $mountcmd' with inapplicable scenarios " \
110 log_pass "Badly formed 'zfs $mountcmd' with inapplicable scenarios " \
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_007_neg.ksh37 # Try each 'zfs unmount' with inapplicable scenarios to make sure
95 log_assert "Badly-formed 'zfs $unmountcmd' with inapplicable scenarios " \
109 log_pass "Badly formed 'zfs $unmountcmd' with inapplicable scenarios " \
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs/
H A Dzfs_003_neg.ksh35 # zfs command will failed with unexpected scenarios:
56 log_assert "zfs fails with unexpected scenarios."
72 log_pass "zfs fails with unexpected scenarios as expected."
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_005_pos.ksh44 # 1. Create case scenarios
61 log_assert "'zpool add' should fail with inapplicable scenarios."
93 log_pass "'zpool add' should fail with inapplicable scenarios."
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_009_neg.ksh37 # Try each 'zpool import' with inapplicable scenarios to make sure
89 log_assert "Badly-formed 'zpool import' with inapplicable scenarios " \
102 log_pass "Badly formed 'zpool import' with inapplicable scenarios " \
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zpool_add/
H A Dzpool_add_005_pos.ksh43 # 1. Create case scenarios
73 log_assert "'zpool add' should fail with inapplicable scenarios."
104 log_pass "'zpool add' should fail with inapplicable scenarios."
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dzfs_set_003_neg.ksh39 # 1. Create invalid scenarios
65 log_assert "'zfs set mountpoint/sharenfs' fails with invalid scenarios"
86 log_pass "'zfs set mountpoint/sharenfs' fails with invalid scenarios as expected."
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/
H A Dzfs_mount_009_neg.ksh36 # Try each 'zfs mount' with inapplicable scenarios to make sure
104 log_assert "Badly-formed 'zfs $mountcmd' with inapplicable scenarios " \
121 log_pass "Badly formed 'zfs $mountcmd' with inapplicable scenarios " \
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/
H A Dzfs_unmount_007_neg.ksh37 # Try each 'zfs unmount' with inapplicable scenarios to make sure
104 log_assert "Badly-formed 'zfs $unmountcmd' with inapplicable scenarios " \
118 log_pass "Badly formed 'zfs $unmountcmd' with inapplicable scenarios " \
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_clone/
H A Dzfs_clone_001_neg.ksh36 # 'zfs clone' should fail with inapplicable scenarios, including:
113 log_assert "Badly-formed 'zfs clone' with inapplicable scenarios" \
125 log_pass "Badly formed 'zfs clone' with inapplicable scenarios" \

12345678910>>...13