Home
last modified time | relevance | path

Searched refs:create_file (Results 1 – 25 of 109) sorted by relevance

12345

/freebsd/contrib/kyua/engine/
H A Dkyuafile_test.cpp70 atf::utils::create_file("config", "syntax(2)\n"); in ATF_TEST_CASE_BODY()
87 atf::utils::create_file( in ATF_TEST_CASE_BODY()
98 atf::utils::create_file( in ATF_TEST_CASE_BODY()
105 atf::utils::create_file( in ATF_TEST_CASE_BODY()
110 atf::utils::create_file("1st", ""); in ATF_TEST_CASE_BODY()
111 atf::utils::create_file("2nd", ""); in ATF_TEST_CASE_BODY()
112 atf::utils::create_file("3rd", ""); in ATF_TEST_CASE_BODY()
113 atf::utils::create_file("4th", ""); in ATF_TEST_CASE_BODY()
114 atf::utils::create_file("dir/1st", ""); in ATF_TEST_CASE_BODY()
115 atf::utils::create_file("dir/subdir/5th", ""); in ATF_TEST_CASE_BODY()
[all …]
H A Dconfig_test.cpp123 atf::utils::create_file("config", "syntax(2)\n"); in ATF_TEST_CASE_BODY()
135 atf::utils::create_file( in ATF_TEST_CASE_BODY()
168 atf::utils::create_file("config", "this syntax is invalid\n"); in ATF_TEST_CASE_BODY()
178 atf::utils::create_file("config", "syntax(123)\n"); in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/utils/config/
H A Dparser_test.cpp87 atf::utils::create_file( in ATF_TEST_CASE_BODY()
102 atf::utils::create_file( in ATF_TEST_CASE_BODY()
116 atf::utils::create_file( in ATF_TEST_CASE_BODY()
138 atf::utils::create_file( in ATF_TEST_CASE_BODY()
155 atf::utils::create_file( in ATF_TEST_CASE_BODY()
164 atf::utils::create_file( in ATF_TEST_CASE_BODY()
180 atf::utils::create_file("output.lua", "syntax(56)\n"); in ATF_TEST_CASE_BODY()
192 atf::utils::create_file("output.lua", "syntax('config', 1)\n"); in ATF_TEST_CASE_BODY()
195 atf::utils::create_file("output.lua", "syntax('foo', 1)\n"); in ATF_TEST_CASE_BODY()
199 atf::utils::create_file("output.lua", "syntax('config', 2)\n"); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/kyua/store/
H A Dlayout_test.cpp62 atf::utils::create_file(base + "20140613-194515-000000.db", ""); in ATF_TEST_CASE_BODY()
66 atf::utils::create_file(base + "20140614-194515-123456.db", ""); in ATF_TEST_CASE_BODY()
70 atf::utils::create_file(base + "20130614-194515-999999.db", ""); in ATF_TEST_CASE_BODY()
92 atf::utils::create_file(base1 + "20140613-194515-000000.db", ""); in ATF_TEST_CASE_BODY()
96 atf::utils::create_file(base2 + "20140615-111111-000000.db", ""); in ATF_TEST_CASE_BODY()
100 atf::utils::create_file(base1 + "20140614-194515-123456.db", ""); in ATF_TEST_CASE_BODY()
104 atf::utils::create_file(base1 + "20130614-194515-999999.db", ""); in ATF_TEST_CASE_BODY()
116 atf::utils::create_file("a-file.db", ""); in ATF_TEST_CASE_BODY()
138 atf::utils::create_file(base1 + "20140613-194515-000000.db", ""); in ATF_TEST_CASE_BODY()
142 atf::utils::create_file(base2 + "20140615-111111-000000.db", ""); in ATF_TEST_CASE_BODY()
[all …]
H A Dmigrate_test.cpp48 atf::utils::create_file("test.db", "The DB\n"); in ATF_TEST_CASE_BODY()
59 atf::utils::create_file("test.db", "Original contents"); in ATF_TEST_CASE_BODY()
60 atf::utils::create_file("test.db.v1.backup", "Overwrite me"); in ATF_TEST_CASE_BODY()
85 atf::utils::create_file("dir/test.db", "Does not need to be valid"); in ATF_TEST_CASE_BODY()
/freebsd/contrib/atf/atf-c++/
H A Dutils_test.cpp70 atf::utils::create_file("file.txt", ""); in ATF_TEST_CASE_BODY()
82 atf::utils::create_file("file.txt", "This is a single line\n"); in ATF_TEST_CASE_BODY()
94 atf::utils::create_file("file.txt", "First\nSecond line\nAnd third\n"); in ATF_TEST_CASE_BODY()
107 atf::utils::create_file("file.txt", "Foo\n bar baz"); in ATF_TEST_CASE_BODY()
119 atf::utils::create_file("test.txt", ""); in ATF_TEST_CASE_BODY()
126 atf::utils::create_file("test.txt", ""); in ATF_TEST_CASE_BODY()
135 atf::utils::create_file("test.txt", "this is a short file"); in ATF_TEST_CASE_BODY()
142 atf::utils::create_file("test.txt", "this is a short file"); in ATF_TEST_CASE_BODY()
158 atf::utils::create_file("test.txt", long_contents); in ATF_TEST_CASE_BODY()
171 atf::utils::create_file("test.txt", long_contents); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/kyua/utils/fs/
H A Doperations_test.cpp112 atf::utils::create_file(source.str(), "This is the input"); in ATF_TEST_CASE_BODY()
139 atf::utils::create_file(target.str(), "Do not override"); in ATF_TEST_CASE_BODY()
142 atf::utils::create_file(source.str(), "This is the input"); in ATF_TEST_CASE_BODY()
191 atf::utils::create_file("ls", ""); in ATF_TEST_CASE_BODY()
201 atf::utils::create_file("ls", ""); in ATF_TEST_CASE_BODY()
214 atf::utils::create_file((dir / "ls").str(), ""); in ATF_TEST_CASE_BODY()
229 atf::utils::create_file((dir2 / "ls").str(), ""); in ATF_TEST_CASE_BODY()
231 atf::utils::create_file((dir1 / "ls").str(), ""); in ATF_TEST_CASE_BODY()
242 atf::utils::create_file("foo-bar", ""); in ATF_TEST_CASE_BODY()
255 atf::utils::create_file("my-bin/abcd", ""); in ATF_TEST_CASE_BODY()
[all …]
H A Dlua_module_test.cpp121 atf::utils::create_file("foo", ""); in ATF_TEST_CASE_BODY()
160 atf::utils::create_file("subdir/foo", ""); in ATF_TEST_CASE_BODY()
161 atf::utils::create_file("bar", ""); in ATF_TEST_CASE_BODY()
217 atf::utils::create_file("root/file1", ""); in ATF_TEST_CASE_BODY()
218 atf::utils::create_file("root/file2", ""); in ATF_TEST_CASE_BODY()
241 atf::utils::create_file("root/file1", ""); in ATF_TEST_CASE_BODY()
242 atf::utils::create_file("root/file2", ""); in ATF_TEST_CASE_BODY()
243 atf::utils::create_file("file3", ""); in ATF_TEST_CASE_BODY()
H A Ddirectory_test.cpp114 atf::utils::create_file("full/a file", ""); in ATF_TEST_CASE_BODY()
115 atf::utils::create_file("full/something-else", ""); in ATF_TEST_CASE_BODY()
116 atf::utils::create_file("full/.hidden", ""); in ATF_TEST_CASE_BODY()
118 atf::utils::create_file("full/subdir/not-listed", ""); in ATF_TEST_CASE_BODY()
/freebsd/contrib/pjdfstest/tests/rename/
H A D09.t32 create_file ${type} ${n0}/${n2} 65534 65534
36 create_file ${type} ${n1}/${n3} 65534 65534
50 create_file ${type} ${n0}/${n2} ${id} ${id}
54 create_file ${type} ${n1}/${n3} 65534 65534
69 create_file ${type} ${n0}/${n2} 65534 65534
73 create_file ${type} ${n1}/${n3} 65534 65534
88 create_file ${type} ${n0}/${n2} ${id} ${id}
92 create_file ${type} ${n1}/${n3} 65534 65534
107 create_file dir ${n0}/${n2} 65534 65534
127 create_file dir ${n0}/${n2} ${id} ${id}
[all …]
H A D10.t31 create_file ${type} ${n0}/${n2} 65534 65534
35 create_file ${type} ${n1}/${n3} 65534 65534
49 create_file ${type} ${n0}/${n2} 65534 65534
53 create_file ${type} ${n1}/${n3} ${id} ${id}
68 create_file ${type} ${n0}/${n2} 65534 65534
72 create_file ${type} ${n1}/${n3} 65534 65534
87 create_file ${type} ${n0}/${n2} 65534 65534
91 create_file ${type} ${n1}/${n3} ${id} ${id}
/freebsd/bin/pax/tests/
H A Dlegacy_test.pl10 sub create_file { subroutine
50 create_file $_ for @paths;
70 create_file $paths[-1];
78 create_file $paths[-1];
85 create_file $paths[-1];
/freebsd/contrib/kyua/examples/
H A Dsyntax_test.cpp133 atf::utils::create_file("root/file", ""); in ATF_TEST_CASE_BODY()
160 atf::utils::create_file("root/file", ""); in ATF_TEST_CASE_BODY()
163 atf::utils::create_file("root/subdir1/Kyuafile", in ATF_TEST_CASE_BODY()
166 atf::utils::create_file("root/subdir1/a", ""); in ATF_TEST_CASE_BODY()
169 atf::utils::create_file("root/subdir2/Kyuafile", in ATF_TEST_CASE_BODY()
172 atf::utils::create_file("root/subdir2/c", ""); in ATF_TEST_CASE_BODY()
173 atf::utils::create_file("root/subdir2/Kyuafile.etc", "invalid"); in ATF_TEST_CASE_BODY()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/casenorm/
H A Dinsensitive_none_delete.ksh46 log_must create_file $name1
51 log_must create_file $name1
59 log_must create_file $name1
64 log_must create_file $name1
H A Dmixed_none_lookup_ci.ksh44 log_must create_file $name1
55 log_must create_file $name1
H A Dinsensitive_none_lookup.ksh44 log_must create_file $name1
55 log_must create_file $name1
/freebsd/contrib/pjdfstest/tests/chmod/
H A D00.t26 create_file ${type} ${n0}
46 create_file ${type} ${n0}
60 create_file ${type} ${n0}
74 create_file ${type} ${n0}
91 create_file ${type} ${n0}
105 create_file ${type} ${n0}
H A D11.t26 create_file ${type} ${n1}
41 create_file ${type} ${n1}
64 create_file ${type} ${n1} 0640 65534 65534
101 create_file ${type} ${n1} 0640 65534 65534
/freebsd/contrib/pjdfstest/tests/chown/
H A D00.t27 create_file ${type} ${n0}
49 create_file ${type} ${n0}
63 create_file ${type} ${n0}
95 create_file ${type} ${n0}
113 create_file ${type} ${n0}
138 create_file ${type} ${n0}
152 create_file ${type} ${n0}
188 create_file ${type} ${n0}
232 create_file ${type} ${n0}
284 create_file ${type} ${n0}
[all …]
/freebsd/contrib/pjdfstest/tests/unlink/
H A D11.t27 create_file ${type} ${n0}/${n1} 65534 65534
35 create_file ${type} ${n0}/${n1} ${id} ${id}
44 create_file ${type} ${n0}/${n1} 65534 65534
53 create_file ${type} ${n0}/${n1} ${id} ${id}
/freebsd/contrib/netbsd-tests/kernel/kqueue/
H A Dt_vnode.c29 int create_file(const char *);
59 create_file(const char *file) in create_file() function
98 ATF_REQUIRE(create_file(file_inside1) != -1); in ATF_TC_BODY()
119 ATF_REQUIRE(create_file(file_inside1) != -1); in ATF_TC_BODY()
167 ATF_REQUIRE(create_file(file_inside1) != -1); in ATF_TC_BODY()
311 ATF_REQUIRE(create_file(file_inside1) != -1); in ATF_TC_BODY()
356 ATF_REQUIRE(create_file(file_inside1) != -1); in ATF_TC_BODY()
452 ATF_REQUIRE(create_file(file_outside) != -1); in ATF_TC_BODY()
476 ATF_REQUIRE(create_file(file_inside1) != -1); in ATF_TC_BODY()
500 ATF_REQUIRE(create_file(file_inside1) != -1); in ATF_TC_BODY()
/freebsd/contrib/pjdfstest/tests/chflags/
H A D00.t41 create_file ${type} ${n0}
57 create_file ${type} ${n0}
115 create_file ${type} ${n0}
130 create_file ${type} ${n0}
148 create_file ${type} ${n0}
163 create_file ${type} ${n0}
/freebsd/contrib/pjdfstest/tests/rmdir/
H A D11.t32 create_file dir ${n0}/${n1} 65534 65534
40 create_file dir ${n0}/${n1} ${id} ${id}
48 create_file dir ${n0}/${n1} ${id} ${id}
/freebsd/contrib/kyua/cli/
H A Dcmd_about_test.cpp62 atf::utils::create_file("fake-docs/AUTHORS", in ATF_TEST_CASE_BODY()
67 atf::utils::create_file("fake-docs/CONTRIBUTORS", in ATF_TEST_CASE_BODY()
72 atf::utils::create_file("fake-docs/LICENSE", "Content of LICENSE\n"); in ATF_TEST_CASE_BODY()
137 atf::utils::create_file("fake-docs/AUTHORS", in ATF_TEST_CASE_BODY()
142 atf::utils::create_file("fake-docs/CONTRIBUTORS", in ATF_TEST_CASE_BODY()
205 atf::utils::create_file("fake-docs/LICENSE", "Content of LICENSE\n"); in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/integration/helpers/
H A Dconfig.cpp46 atf::utils::create_file(output, get_config_var(varname) + in ATF_TEST_CASE_HEAD()
49 atf::utils::create_file(output, "NOT DEFINED\n"); in ATF_TEST_CASE_HEAD()

12345