Home
last modified time | relevance | path

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

123

/freebsd-13-stable/tools/regression/tmpfs/
HDt_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"
HDt_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"
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 …]
HDt_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"
HDt_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 …]
HDt_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"
HDt_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" \
HDt_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"
HDt_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"
HDt_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"
HDt_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"
HDt_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"
HDt_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" \
HDt_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"
HDt_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"
HDt_create42 test_name "Files can be created"
47 test_name "New files get proper attributes"
57 test_name "New files by users get proper attributes"
84 test_name "Creating a file raises NOTE_WRITE on the parent directory"
/freebsd-13-stable/contrib/capsicum-test/
HDcapsicum-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
125 class ICLASS_NAME(test_case_name, test_name) : public test_case_name { \
[all …]
HDmqueue.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-13-stable/usr.bin/file/tests/
HDfile_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-13-stable/tests/atf_python/
HDatf_pytest.py171 def set_report_state(self, test_name: str, state: str, reason: str):
172 self._tests_state_map[test_name] = self.ReportState(state, reason)
223 test_name = report.location[2]
234 self.set_report_state(test_name, state, reason)
237 if test_name in self._tests_state_map:
238 if self._tests_state_map[test_name].state == "failed":
242 self.set_report_state(test_name, state, reason)
250 self.set_report_state(test_name, state, reason)
256 self.set_report_state(test_name, state, reason)
263 self.set_report_state(test_name, state, reason)
/freebsd-13-stable/libexec/atf/atf-pytest-wrapper/
HDatf_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-13-stable/contrib/googletest/googletest/include/gtest/internal/
HDgtest-internal.h589 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 …]
/freebsd-13-stable/contrib/googletest/googletest/include/gtest/
HDgtest-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()
/freebsd-13-stable/contrib/ntp/sntp/libevent/build-aux/
HDtest-driver53 test_name= # Used for reporting.
63 --test-name) test_name=$2; shift;;
77 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
132 echo "${col}${res}${std}: $test_name"
/freebsd-13-stable/contrib/libevent/build-aux/
HDtest-driver53 test_name= # Used for reporting.
63 --test-name) test_name=$2; shift;;
77 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
129 echo "$res $test_name (exit status: $estatus)" >>$log_file
132 echo "${col}${res}${std}: $test_name"
/freebsd-13-stable/contrib/openpam/
HDtest-driver55 test_name= # Used for reporting.
65 --test-name) test_name=$2; shift;;
79 test x"$test_name" = x && missing_opts="$missing_opts --test-name"
134 echo "$res $test_name (exit status: $estatus)" >>"$log_file"
137 echo "${col}${res}${std}: $test_name"

123