Home
last modified time | relevance | path

Searched refs:test_name (Results 1 – 25 of 100) sorted by relevance

1234

/freebsd/tools/regression/tmpfs/
H A Dt_readdir42 test_name "Directory has '.' and '..' entries"
46 test_name "Creation of files of all possible types"
55 test_name "Read of directory"
61 test_name "Populate directory"
63 test_name "Clean it"
65 test_name "Repopulate directory"
67 test_name "Listing should return all entries"
70 test_name "Creation of many files"
76 test_name "Removal of all files using a wildcard"
79 test_name "Removal of should-be-empty directory"
H A Dt_read_write42 test_name "Write to new file works"
44 test_name "Data written is correct"
47 test_name "Append to existing file works"
49 test_name "Data written is correct"
52 test_name "Write to long file (bigger than a page) works"
54 test_name "Data written is correct"
60 test_name "Writing to a file raises NOTE_WRITE"
65 test_name "Appending to a file raises NOTE_EXTEND"
67 test_name "Appending to a file raises NOTE_WRITE"
H A Dt_rename43 test_name "'.' and '..' entries cannot be renamed"
49 test_name "Cross device renames do not work"
54 test_name "Directories can be renamed"
61 test_name "The '..' entry is updated after moves"
74 test_name "The '..' entry is correct after renames"
84 test_name "The '..' entry is correct after multiple moves"
94 test_name "Rename works if the target file exists"
129 test_name "Rename a directory to a override a file fails"
139 test_name "Rename a file to a override a directory fails"
152 test_name "Renaming a file raises NOTE_RENAME on the old file"
[all …]
H A Dt_rmdir43 test_name "The mount point cannot be removed"
46 test_name "Non-existing directories cannot be removed"
49 test_name "Removal of a single directory works"
57 test_name "Removal of nested directories works"
63 test_name "'.' and '..' directories cannot be removed"
69 test_name "Non-empty directories cannot be removed"
78 test_name "Root directory has two links after all removes"
82 test_name "Removal of current directory"
93 test_name "Deleting a directory raises NOTE_DELETE on it"
95 test_name "Deleting a directory raises NOTE_LINK on the parent" \
[all …]
H A Dt_vnd51 test_name "Creation of disk image"
54 test_name "Configuration of vnd"
57 test_name "Labelling the md"
60 test_name "Formatting of disk image"
63 test_name "Mounting of disk image"
67 test_name "Creation of several files"
72 test_name "Verification of created files"
78 test_name "Unmounting of disk image"
81 test_name "Deconfiguration of vnd"
H A Dt_symlink42 test_name "Creation of an empty file"
44 test_name "Creation of a symlink pointing to it"
46 test_name "Symlink points to correct file"
49 test_name "Changing original file"
51 test_name "Symlink reflects the changes"
54 test_name "Creation of symlink to a known system file"
56 test_name "Trying to see if it works"
60 test_name "Symlinking directories works"
71 test_name "Creating a symlink raises NOTE_WRITE on the parent" \
H A Dt_setattr43 test_name "File owner can be changed on its own"
53 test_name "Changing a file's owner raises NOTE_ATTRIB on it"
56 test_name "File group can be changed on its own"
66 test_name "Changing a file's group raises NOTE_ATTRIB on it"
69 test_name "File owner and group can be changed at once"
78 test_name "Changing a file's owner and group raises NOTE_ATTRIB on it"
81 test_name "File mode can be changed"
89 test_name "Updating a file's mode raises NOTE_ATTRIB on it"
92 test_name "File times can be changed"
101 test_name "Updating a file's times raises NOTE_ATTRIB on it"
H A Dt_link42 test_name "Link operation works"
50 test_name "Link count is correct after links are created"
56 test_name "Link count is correct after links are deleted"
62 test_name "Link operation works in subdirectories"
66 test_name "Link count is correct after links are created"
72 test_name "Link count is correct after links are deleted"
82 test_name "Creating a link raises NOTE_LINK on the source file"
84 test_name "Creating a link raises NOTE_WRITE on the parent directory"
90 test_name "Deleting a link raises NOTE_DELETE on one other link"
92 test_name "Deleting a link raises NOTE_WRITE on the parent directory"
H A Dt_mount42 test_name "File-system can be mounted"
44 test_name "Root directory has two links"
47 test_name "File-system can be unmounted"
50 test_name "File-system mount options work"
55 test_name "Root directory attributes are set correctly"
63 test_name "Negative values are correctly handled"
67 test_name "Extremely large values are correctly handled"
H A Dt_sizes44 test_name "Get status of clean filesystem"
48 test_name "Creation of small file"
50 test_name "statvfs(2) reports correct block accounting"
56 test_name "Creation of big file"
58 test_name "statvfs(2) reports correct block accounting"
69 test_name "Creation of big file that overflows the filesystem"
73 test_name "statvfs(2) reports correct block accounting"
79 test_name "Write to middle of a file does not change size"
H A Dt_times42 test_name "Creation of empty file"
49 test_name "Read of empty file"
57 test_name "Write to (and extension of) empty file"
65 test_name "Creation of non-empty file"
69 test_name "Read of non-empty file"
77 test_name "Creation of non-empty file"
81 test_name "New link to non-empty file"
89 test_name "File renaming does not change times"
H A Dt_mkdir43 test_name "Directories can be created"
45 test_name "Link count is updated after directory creation"
49 test_name "Create many directories"
58 test_name "Nested directories can be created"
64 test_name "New directories by users get proper attributes"
90 test_name "Creating a directory raises NOTE_LINK on the parent" \
93 test_name "Creating a directory raises NOTE_WRITE on the parent" \
H A Dt_remove42 test_name "Files can be removed"
49 test_name "Files with uchg flags cannot be removed"
58 test_name "The node . cannot be unlinked"
66 test_name "Deleting a file raises NOTE_DELETE on it"
68 test_name "Deleting a file raises NOTE_WRITE on the parent directory"
H A Dt_truncate42 test_name "Write to new file works"
44 test_name "Truncate the file to smaller size works"
48 test_name "Truncate to zero size"
50 test_name "Truncate to zero size, second try"
/freebsd/contrib/capsicum-test/
H A Dcapsicum-test.h109 #define FORK_TEST_ON(test_case_name, test_name, test_file) \ argument
110 static void test_case_name##_##test_name##_ForkTest(); \
111 TEST(test_case_name, test_name ## Forked) { \
112 _RUN_FORKED_FN(test_case_name##_##test_name##_ForkTest, \
113 #test_case_name, #test_name); \
117 static void test_case_name##_##test_name##_ForkTest()
119 #define FORK_TEST(test_case_name, test_name) FORK_TEST_ON(test_case_name, test_name, NULL) argument
123 #define ICLASS_NAME(test_case_name, test_name) Forked##test_case_name##_##test_name argument
124 #define FORK_TEST_F(test_case_name, test_name) \ argument
127 ICLASS_NAME(test_case_name, test_name)() {} \
[all …]
H A Dmqueue.cc16 #define FORK_TEST_ON_MQ(test_case_name, test_name, test_mq) \ argument
17 static void test_case_name##_##test_name##_ForkTest(); \
18 TEST(test_case_name, test_name ## Forked) { \
19 _RUN_FORKED_FN(test_case_name##_##test_name##_ForkTest, \
20 #test_case_name, #test_name); \
24 static void test_case_name##_##test_name##_ForkTest()
/freebsd/crypto/openssl/test/recipes/
H A D70-test_sslcertstatus.t14 my $test_name = "test_sslcertstatus";
15 setup($test_name);
20 plan skip_all => "$test_name needs the dynamic engine feature enabled"
23 plan skip_all => "$test_name needs the sock feature enabled"
26 plan skip_all => "$test_name needs the ocsp feature enabled"
29 plan skip_all => "$test_name needs TLS enabled"
H A D70-test_tls13alerts.t14 my $test_name = "test_tls13alerts";
15 setup($test_name);
20 plan skip_all => "$test_name needs the dynamic engine feature enabled"
23 plan skip_all => "$test_name needs the sock feature enabled"
26 plan skip_all => "$test_name needs TLS1.3 enabled"
H A D70-test_sslskewith0p.t14 my $test_name = "test_sslskewith0p";
15 setup($test_name);
20 plan skip_all => "$test_name needs the dynamic engine feature enabled"
26 plan skip_all => "$test_name needs the sock feature enabled"
29 plan skip_all => "$test_name needs TLS enabled"
H A D70-test_comp.t15 my $test_name = "test_comp";
16 setup($test_name);
21 plan skip_all => "$test_name needs the dynamic engine feature enabled"
24 plan skip_all => "$test_name needs the sock feature enabled"
27 plan skip_all => "$test_name needs TLSv1.3 or TLSv1.2 enabled"
H A D70-test_tls13cookie.t14 my $test_name = "test_tls13cookie";
15 setup($test_name);
20 plan skip_all => "$test_name needs the dynamic engine feature enabled"
23 plan skip_all => "$test_name needs the sock feature enabled"
26 plan skip_all => "$test_name needs TLS1.3 enabled"
/freebsd/usr.bin/file/tests/
H A Dfile_test.sh33 test_name="${testfile%.testfile}"
34 result_file="${test_name}.result"
37 for magic_file in ${test_name}*.magic; do
49 if [ -f "${test_name}.flags" ]; then
50 file_args="${file_args} -$(cat "${test_name}.flags")"
/freebsd/crypto/openssl/util/perl/OpenSSL/
H A DTest.pm78 my $test_name = undef;
136 my $old_test_name = $test_name;
137 $test_name = shift;
142 if $old_test_name && $old_test_name ne $test_name;
665 BAIL_OUT("Must run setup() first") if (! $test_name);
684 BAIL_OUT("Must run setup() first") if (! $test_name);
978 BAIL_OUT("Must run setup() first") if (! $test_name);
985 BAIL_OUT("Must run setup() first") if (! $test_name);
991 BAIL_OUT("Must run setup() first") if (! $test_name);
998 BAIL_OUT("Must run setup() first") if (! $test_name);
[all …]
/freebsd/libexec/atf/atf-pytest-wrapper/
H A Datf_pytest_wrapper.cpp33 std::string test_name; member in Handler
132 test_name = std::string(argv[0]); in Parse()
133 if (test_name.size() > kCleanupSuffix.size() && in Parse()
134 std::equal(kCleanupSuffix.rbegin(), kCleanupSuffix.rend(), test_name.rbegin())) { in Parse()
135 test_name = test_name.substr(0, test_name.size() - kCleanupSuffix.size()); in Parse()
165 args.push_back(script_path + "::" + test_name); in BuildArgs()
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-param-test.h450 #define TEST_P(test_suite_name, test_name) \ argument
451 class GTEST_TEST_CLASS_NAME_(test_suite_name, test_name) \
455 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() {} \
466 GTEST_STRINGIFY_(test_suite_name), GTEST_STRINGIFY_(test_name), \
468 test_suite_name, test_name)>(), \
475 test_name)::gtest_registering_dummy_ = \
476 GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::AddToRegistry(); \
477 void GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)::TestBody()

1234