/freebsd/tools/regression/tmpfs/ |
H A D | t_readdir | 42 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 D | t_rename | 43 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" 102 test_name "Rename a directory to a override an empty directory works" 113 test_name "Rename a directory to a override a non-empty directory fails" 129 test_name "Rename a directory to a override a file fails" [all …]
|
H A D | t_read_write | 42 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 D | t_rmdir | 43 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 D | t_vnd | 51 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 D | t_symlink | 42 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 D | t_setattr | 43 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 D | t_link | 42 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 D | t_mount | 42 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 D | t_sizes | 44 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 D | t_times | 42 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 D | t_mkdir | 43 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 D | t_remove | 42 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 D | t_truncate | 42 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 D | capsicum-test.h | 109 #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 125 class ICLASS_NAME(test_case_name, test_name) : public test_case_name { \ [all …]
|
H A D | mqueue.cc | 16 #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 D | 70-test_sslcertstatus.t | 14 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 D | 70-test_npn.t | 15 my $test_name = "test_npn"; 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 NPN enabled" 30 plan skip_all => "$test_name needs TLSv1.2 enabled"
|
H A D | 70-test_tls13alerts.t | 14 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 D | 70-test_sslskewith0p.t | 14 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 D | 70-test_comp.t | 15 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"
|
/freebsd/crypto/openssl/util/perl/OpenSSL/ |
H A D | Test.pm | 78 my $test_name = undef; 136 my $old_test_name = $test_name; 137 $test_name = shift; 140 BAIL_OUT("setup() must receive a name") unless $test_name; 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); 949 $directories{RESULTS} = catdir($directories{RESULTTOP}, $test_name); 978 BAIL_OUT("Must run setup() first") if (! $test_name); 985 BAIL_OUT("Must run setup() first") if (! $test_name); [all …]
|
/freebsd/usr.bin/file/tests/ |
H A D | file_test.sh | 33 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/libexec/atf/atf-pytest-wrapper/ |
H A D | atf_pytest_wrapper.cpp | 33 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/internal/ |
H A D | gtest-internal.h | 589 const char* test_name) { in AddTestName() argument 594 FormatFileLocation(file, line).c_str(), test_name, case_name); in AddTestName() 598 registered_tests_.emplace(test_name, CodeLocation(file, line)); in AddTestName() 602 bool TestExists(const std::string& test_name) const { in TestExists() argument 603 return registered_tests_.count(test_name) > 0; in TestExists() 606 const CodeLocation& GetCodeLocation(const std::string& test_name) const { in GetCodeLocation() argument 607 RegisteredTestsMap::const_iterator it = registered_tests_.find(test_name); in GetCodeLocation() 763 std::string test_name = variable 765 if (!state->TestExists(test_name)) { 767 case_name, test_name.c_str(), [all …]
|