| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_get/ |
| H A D | zfs_get_006_neg.ksh | 37 # Verify 'zfs get all' can deal with invalid scenarios 40 # 1. Define invalid scenarios for 'zfs get all' 41 # 2. Run zfs get with those invalid scenarios 42 # 3. Verify that zfs get fails with invalid scenarios 47 log_assert "Verify 'zfs get all' fails with invalid combination scenarios." 70 log_pass "'zfs get all' fails with invalid combinations scenarios as expected."
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_get/ |
| H A D | zfs_get_006_neg.ksh | 36 # 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/tools/regression/security/proc_to_proc/ |
| H A D | scenario.c | 87 * 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
| H A D | zpool_create_008_pos.ksh | 38 # 'zpool create' have to use '-f' scenarios 41 # 1. Prepare the scenarios 67 log_assert "'zpool create' have to use '-f' scenarios" 91 log_pass "'zpool create' have to use '-f' scenarios"
|
| H A D | zpool_create_011_neg.ksh | 44 # 1. Create case scenarios 65 log_assert "'zpool create' should be failed with inapplicable scenarios." 92 # Set up the testing scenarios parameters 140 log_pass "'zpool create' is failed as expected with inapplicable scenarios."
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
| H A D | zfs_receive_005_neg.ksh | 37 # Verify 'zfs receive' fails with unsupported scenarios. 44 # 1. Preparation for unsupported scenarios 68 log_assert "Verify 'zfs receive' fails with unsupported scenarios." 98 log_pass "Unsupported scenarios to 'zfs receive' fail as expected."
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
| H A D | zpool_create_008_pos.ksh | 36 # '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 D | zpool_create_011_neg.ksh | 42 # 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/ |
| H A D | zfs_snapshot_002_neg.ksh | 37 # "zfs snapshot -r" fails with invalid arguments or scenarios. 38 # The invalid scenarios may include: 65 log_assert "'zfs snapshot -r' fails with invalid arguments or scenarios. " 98 log_pass "'zfs snapshot -r' fails with invalid arguments or scenarios as expected."
|
| H A D | zfs_snapshot_001_neg.ksh | 38 # Try each 'zfs snapshot' with inapplicable scenarios to make sure 105 log_assert "Badly-formed 'zfs snapshot' with inapplicable scenarios " \ 117 log_pass "Badly formed 'zfs snapshot' with inapplicable scenarios " \
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_receive/ |
| H A D | zfs_receive_005_neg.ksh | 36 # 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/tests/sys/cddl/zfs/tests/cli_root/zfs_snapshot/ |
| H A D | zfs_snapshot_002_neg.ksh | 35 # "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/tests/sys/cddl/zfs/tests/hotspare/ |
| H A D | hotspare_create_001_neg.ksh | 46 # 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
| H A D | zfs_set_003_neg.ksh | 42 # 1. Create invalid scenarios 58 log_assert "'zfs set mountpoint/sharenfs' fails with invalid scenarios" 81 log_pass "'zfs set mountpoint/sharenfs' fails with invalid scenarios as expected."
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs/ |
| H A D | zfs_003_neg.ksh | 35 # 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/ |
| H A D | zpool_add_005_pos.ksh | 45 # 1. Create case scenarios 62 log_assert "'zpool add' should fail with inapplicable scenarios." 94 log_pass "'zpool add' should fail with inapplicable scenarios."
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
| H A D | zfs_unmount_007_neg.ksh | 38 # Try each 'zfs unmount' with inapplicable scenarios to make sure 96 log_assert "Badly-formed 'zfs $unmountcmd' with inapplicable scenarios " \ 110 log_pass "Badly formed 'zfs $unmountcmd' with inapplicable scenarios " \
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
| H A D | zfs_mount_009_neg.ksh | 38 # Try each 'zfs mount' with inapplicable scenarios to make sure 95 log_assert "Badly-formed 'zfs $mountcmd' with inapplicable scenarios " \ 111 log_pass "Badly formed 'zfs $mountcmd' with inapplicable scenarios " \
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | README | 1 This directory contains various test scenarios. Most are regression 4 The script "all.sh" will run all the test scenarios forever.
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
| H A D | zfs_set_003_neg.ksh | 39 # 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/tests/sys/cddl/zfs/tests/cli_root/zpool_add/ |
| H A D | zpool_add_005_pos.ksh | 43 # 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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
| H A D | zpool_import_009_neg.ksh | 38 # Try each 'zpool import' with inapplicable scenarios to make sure 90 log_assert "Badly-formed 'zpool import' with inapplicable scenarios " \ 103 log_pass "Badly formed 'zpool import' with inapplicable scenarios " \
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/ |
| H A D | zfs_unmount_007_neg.ksh | 37 # 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/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
| H A D | zfs_mount_009_neg.ksh | 36 # 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/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
| H A D | zpool_import_009_neg.ksh | 35 # Try each 'zpool import' with inapplicable scenarios to make sure 96 log_assert "Badly-formed 'zpool import' with inapplicable scenarios " \ 109 log_pass "Badly formed 'zpool import' with inapplicable scenarios " \
|