Home
last modified time | relevance | path

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

123

/freebsd-13.1/tools/regression/tmpfs/
H A Dt_readdir43 test_name "Directory has '.' and '..' entries"
47 test_name "Creation of files of all possible types"
56 test_name "Read of directory"
62 test_name "Populate directory"
64 test_name "Clean it"
66 test_name "Repopulate directory"
68 test_name "Listing should return all entries"
71 test_name "Creation of many files"
77 test_name "Removal of all files using a wildcard"
80 test_name "Removal of should-be-empty directory"
H A Dt_rename44 test_name "'.' and '..' entries cannot be renamed"
50 test_name "Cross device renames do not work"
55 test_name "Directories can be renamed"
62 test_name "The '..' entry is updated after moves"
75 test_name "The '..' entry is correct after renames"
85 test_name "The '..' entry is correct after multiple moves"
95 test_name "Rename works if the target file exists"
130 test_name "Rename a directory to a override a file fails"
140 test_name "Rename a file to a override a directory fails"
153 test_name "Renaming a file raises NOTE_RENAME on the old file"
[all …]
H A Dt_read_write43 test_name "Write to new file works"
45 test_name "Data written is correct"
48 test_name "Append to existing file works"
50 test_name "Data written is correct"
53 test_name "Write to long file (bigger than a page) works"
55 test_name "Data written is correct"
61 test_name "Writing to a file raises NOTE_WRITE"
66 test_name "Appending to a file raises NOTE_EXTEND"
68 test_name "Appending to a file raises NOTE_WRITE"
H A Dt_rmdir44 test_name "The mount point cannot be removed"
47 test_name "Non-existing directories cannot be removed"
50 test_name "Removal of a single directory works"
58 test_name "Removal of nested directories works"
64 test_name "'.' and '..' directories cannot be removed"
70 test_name "Non-empty directories cannot be removed"
79 test_name "Root directory has two links after all removes"
83 test_name "Removal of current directory"
94 test_name "Deleting a directory raises NOTE_DELETE on it"
96 test_name "Deleting a directory raises NOTE_LINK on the parent" \
[all …]
H A Dt_vnd52 test_name "Creation of disk image"
55 test_name "Configuration of vnd"
58 test_name "Labelling the md"
61 test_name "Formatting of disk image"
64 test_name "Mounting of disk image"
68 test_name "Creation of several files"
73 test_name "Verification of created files"
79 test_name "Unmounting of disk image"
82 test_name "Deconfiguration of vnd"
H A Dt_symlink43 test_name "Creation of an empty file"
45 test_name "Creation of a symlink pointing to it"
47 test_name "Symlink points to correct file"
50 test_name "Changing original file"
52 test_name "Symlink reflects the changes"
55 test_name "Creation of symlink to a known system file"
57 test_name "Trying to see if it works"
61 test_name "Symlinking directories works"
72 test_name "Creating a symlink raises NOTE_WRITE on the parent" \
H A Dt_setattr44 test_name "File owner can be changed on its own"
54 test_name "Changing a file's owner raises NOTE_ATTRIB on it"
57 test_name "File group can be changed on its own"
67 test_name "Changing a file's group raises NOTE_ATTRIB on it"
70 test_name "File owner and group can be changed at once"
79 test_name "Changing a file's owner and group raises NOTE_ATTRIB on it"
82 test_name "File mode can be changed"
90 test_name "Updating a file's mode raises NOTE_ATTRIB on it"
93 test_name "File times can be changed"
102 test_name "Updating a file's times raises NOTE_ATTRIB on it"
H A Dt_link43 test_name "Link operation works"
51 test_name "Link count is correct after links are created"
57 test_name "Link count is correct after links are deleted"
63 test_name "Link operation works in subdirectories"
67 test_name "Link count is correct after links are created"
73 test_name "Link count is correct after links are deleted"
83 test_name "Creating a link raises NOTE_LINK on the source file"
85 test_name "Creating a link raises NOTE_WRITE on the parent directory"
91 test_name "Deleting a link raises NOTE_DELETE on one other link"
93 test_name "Deleting a link raises NOTE_WRITE on the parent directory"
H A Dt_mount43 test_name "File-system can be mounted"
45 test_name "Root directory has two links"
48 test_name "File-system can be unmounted"
51 test_name "File-system mount options work"
56 test_name "Root directory attributes are set correctly"
64 test_name "Negative values are correctly handled"
68 test_name "Extremely large values are correctly handled"
H A Dt_sizes45 test_name "Get status of clean filesystem"
49 test_name "Creation of small file"
51 test_name "statvfs(2) reports correct block accounting"
57 test_name "Creation of big file"
59 test_name "statvfs(2) reports correct block accounting"
70 test_name "Creation of big file that overflows the filesystem"
74 test_name "statvfs(2) reports correct block accounting"
80 test_name "Write to middle of a file does not change size"
H A Dt_times43 test_name "Creation of empty file"
50 test_name "Read of empty file"
58 test_name "Write to (and extension of) empty file"
66 test_name "Creation of non-empty file"
70 test_name "Read of non-empty file"
78 test_name "Creation of non-empty file"
82 test_name "New link to non-empty file"
90 test_name "File renaming does not change times"
H A Dt_mkdir44 test_name "Directories can be created"
46 test_name "Link count is updated after directory creation"
50 test_name "Create many directories"
59 test_name "Nested directories can be created"
65 test_name "New directories by users get proper attributes"
91 test_name "Creating a directory raises NOTE_LINK on the parent" \
94 test_name "Creating a directory raises NOTE_WRITE on the parent" \
H A Dt_remove43 test_name "Files can be removed"
50 test_name "Files with uchg flags cannot be removed"
59 test_name "The node . cannot be unlinked"
67 test_name "Deleting a file raises NOTE_DELETE on it"
69 test_name "Deleting a file raises NOTE_WRITE on the parent directory"
H A Dt_truncate43 test_name "Write to new file works"
45 test_name "Truncate the file to smaller size works"
49 test_name "Truncate to zero size"
51 test_name "Truncate to zero size, second try"
H A Dt_create43 test_name "Files can be created"
48 test_name "New files get proper attributes"
58 test_name "New files by users get proper attributes"
85 test_name "Creating a file raises NOTE_WRITE on the parent directory"
H A Dt_exec44 test_name "Copy of existing binary program"
46 test_name "Data written is correct"
49 test_name "Execution of binary program"
/freebsd-13.1/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-13.1/contrib/openpam/
H A Dtest-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.1/contrib/libevent/
H A Dtest-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.1/contrib/ntp/sntp/libevent/build-aux/
H A Dtest-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.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h548 const char* test_name) { in AddTestName() argument
561 bool TestExists(const std::string& test_name) const { in TestExists() argument
562 return registered_tests_.count(test_name) > 0; in TestExists()
710 std::string test_name = StripTrailingSpaces( variable
712 if (!state->TestExists(test_name)) {
714 case_name, test_name.c_str(),
1306 #define GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \
1307 test_case_name##_##test_name##_Test
1313 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {}\
1318 GTEST_TEST_CLASS_NAME_(test_case_name, test_name));\
[all …]
/freebsd-13.1/usr.bin/file/tests/
H A Dfile_test.sh33 test_name="${testfile%.testfile}"
34 result_file="${test_name}.result"
35 magic_file="${test_name}.magic"
/freebsd-13.1/contrib/googletest/googletest/scripts/
H A Dgen_gtest_pred_impl.py617 test_name = pred_format_type.title()
621 test_name += 'OnUserType'
628 test_name += 'OnBuiltInType'
637 test_name += 'Failure'
641 test_name += 'Success'
648 'test_name' : test_name,
/freebsd-13.1/crypto/heimdal/lib/hx509/
H A Dtest_name.c37 test_name(hx509_context context, const char *name) in test_name() function
363 ret += test_name(context, "CN=foo,C=SE"); in main()
364 ret += test_name(context, "CN=foo,CN=kaka,CN=FOO,DC=ad1,C=SE"); in main()
365 ret += test_name(context, "1.2.3.4=foo,C=SE"); in main()

123