Home
last modified time | relevance | path

Searched refs:rmdir (Results 1 - 25 of 231) sorted by relevance

12345678910

/third_party/node/test/parallel/
H A Dtest-fs-rmdir-recursive.js12 'In future versions of Node.js, fs.rmdir(path, { recursive: true }) ' +
20 const nextDirPath = (name = 'rmdir-recursive') =>
74 fs.rmdir(dir, common.mustCall((err) => {
75 assert.strictEqual(err.syscall, 'rmdir');
78 fs.rmdir(dir, { recursive: false }, common.mustCall((err) => {
79 assert.strictEqual(err.syscall, 'rmdir');
82 fs.rmdir(dir, { recursive: true }, common.mustSucceed(() => {
84 fs.rmdir(dir, { recursive: true }, common.mustCall((err) => {
87 fs.rmdir(dir, common.mustCall((err) => {
88 assert.strictEqual(err.syscall, 'rmdir');
[all...]
H A Dtest-trace-events-fs-async.js161 fs.rmdir('fstemp0', () => {});
167 fs.rmdir(fp, () => {});
214 function rmdir() { function
217 fs.rmdir('fstemp2', () => {});
294 tests.rmdir = wrapper(rmdir);
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Drmdir.c34 int rm = rmdir(path); in rmdir_0100()
40 int rm = rmdir(path); in rmdir_0100()
55 int rm = rmdir(path); in rmdir_0200()
58 int rm = rmdir(path); in rmdir_0200()
60 rm = rmdir(path); in rmdir_0200()
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
H A Dcgroup_fj_function.sh65 rmdir "$start_path/ltp_2"
69 if ! rmdir "$start_path/ltp_3"; then
95 ROD rmdir "$start_path/ltp_2"
106 if rmdir "$start_path/ltp_1" > /dev/null 2>&1; then
128 if rmdir "$start_path/ltp_1" > /dev/null 2>&1; then
135 ROD rmdir "$start_path/ltp_1/a"
234 rmdir "$start_path/ltp_1" >/dev/null 2>&1
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
H A Dmemcg_stat_test.sh55 rmdir subgroup
73 rmdir subgroup
93 rmdir subgroup
114 rmdir subgroup
H A Dmemcg_use_hierarchy_test.sh27 rmdir subgroup
39 rmdir subgroup
52 rmdir subgroup
H A Dmemcg_move_charge_at_immigrate_test.sh32 rmdir subgroup_a
51 rmdir subgroup_a subgroup_b
/third_party/ltp/testcases/kernel/controllers/cgroup/
H A Dcgroup_regression_test.sh13 TST_NEEDS_CMDS="awk dmesg find mountpoint rmdir"
33 find cgroup/ -maxdepth 1 -depth -exec rmdir {} +
35 rmdir cgroup
141 rmdir cgroup/0 cgroup/1
180 rmdir $cpu_subsys_path/0 2> /dev/null
209 rmdir cgroup/0
241 rmdir cgroup/0
272 # it (rmdir()ed but still has some refcnts on it). It caused memory
293 rmdir $subsys_path/0
320 rmdir cgrou
[all...]
/third_party/ltp/testcases/kernel/fs/ftest/
H A Dftest06.c208 rmdir(name); in main()
280 val = rmdir(fname); in crfile()
281 warn(val, "rmdir", fname); in crfile()
319 val = rmdir(fname); in unlfile()
340 rmdir(dir); in fussdir()
361 val = rmdir(dir); in fussdir()
365 "Test[%d]: rmdir of non-empty %s succeeds!", me, in fussdir()
384 val = rmdir(dir); in fussdir()
385 warn(val, "rmdir", dir); in fussdir()
480 if (rmdir(mntpoin in cleanup()
[all...]
H A Dftest02.c193 rmdir(name); in main()
259 val = rmdir(fname); in crfile()
260 warn(val, "rmdir", fname); in crfile()
301 val = rmdir(fname); in unlfile()
322 rmdir(dir); in fussdir()
343 val = rmdir(dir); in fussdir()
347 "Test[%d]: rmdir of non-empty %s succeeds!", me, in fussdir()
366 val = rmdir(dir); in fussdir()
367 warn(val, "rmdir", dir); in fussdir()
466 if (rmdir(mntpoin in cleanup()
[all...]
/third_party/ltp/testcases/kernel/controllers/memctl/
H A Dmyfunctions.sh50 rmdir /dev/memctl/group* 2> /dev/null
52 rmdir /dev/memctl 2> /dev/null
78 rmdir /dev/memctl/group*
/third_party/python/Lib/test/
H A Dtest_tempfile.py447 os.rmdir(dir)
575 os.rmdir(d)
621 os_helper.rmdir(case_sensitive_tempdir)
684 os.rmdir(dir)
741 os.rmdir(name)
746 os.rmdir(self.do_create())
747 os.rmdir(self.do_create(pre="a"))
748 os.rmdir(self.do_create(suf="b"))
749 os.rmdir(self.do_create(pre="a", suf="b"))
750 os.rmdir(sel
[all...]
/third_party/ltp/testcases/kernel/controllers/cpuctl/
H A Dparameters.sh79 rmdir /dev/cpuctl/group* 2> /dev/null
81 rmdir /dev/cpuctl 2> /dev/null
110 rmdir /dev/cpuctl/group*
H A Drun_cpuctl_latency_test.sh73 rmdir /dev/cpuctl/group* #2> /dev/null
75 rmdir /dev/cpuctl #2> /dev/null
/third_party/python/Lib/test/support/
H A Dos_helper.py228 rmdir(tmp_dir)
363 _waitfor(os.rmdir, dirname)
380 _force_run(fullname, os.rmdir, fullname)
384 _waitfor(lambda p: _force_run(p, os.rmdir, p), path)
401 _rmdir = os.rmdir
421 _force_run(path, os.rmdir, fullname)
425 os.rmdir(path)
431 def rmdir(dirname): function
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dmkdirat.c33 rmdir("aa"); in mkdirat_0100()
48 rmdir("bb"); in mkdirat_0200()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/
H A Dunistd_rmdir_test.cpp25 EXPECT_EQ(0, rmdir(path)); in HWTEST_F()
29 EXPECT_EQ(0, rmdir(path)); in HWTEST_F()
/third_party/ltp/testcases/kernel/controllers/cpuacct/
H A Dcpuacct.sh126 rmdir $testpath/subgroup_*
128 rmdir $testpath
134 rmdir $mount_point
/third_party/node/lib/internal/fs/
H A Drimraf.js24 rmdir,
116 rmdir(path, (err) => {
139 return rmdir(path, callback);
157 rmdir(path, callback);
/third_party/libfuse/test/
H A Dtest_syscalls.c624 rmdir(path); in create_dir()
1545 rmdir(testdir2); in test_rename_dir()
1565 res = rmdir(testdir2); in test_rename_dir()
1567 PERROR("rmdir"); in test_rename_dir()
1754 rmdir(PATH("a/d/e")); in test_rename_dir_loop()
1755 rmdir(PATH("a/d")); in test_rename_dir_loop()
1757 rmdir(PATH("a/b/c")); in test_rename_dir_loop()
1758 rmdir(PATH("a/b")); in test_rename_dir_loop()
1759 rmdir(PATH("a")); in test_rename_dir_loop()
1762 res = rmdir(testdi in test_rename_dir_loop()
[all...]
/third_party/musl/Benchmark/musl/
H A Dlibc_stat.cpp91 rmdir(DATA_ROOT"/data/data/test_mkdir"); in Bm_function_Mkdir()
103 rmdir(DATA_ROOT"/data/data/test_mkdirat"); in Bm_function_Mkdirat()
/third_party/ltp/testcases/kernel/controllers/freezer/
H A Dlibcgroup_freezer110 rmdir $TMP/${cgroup_subsys}_test 2> /dev/null
121 rmdir $TMP/${cgroup_subsys}_test 2> /dev/null
158 rmdir $TMP/${cgroup_subsys}_test
209 find $TMP/${cgroup_subsys}_test -mindepth 1 -depth -type d -print0 | xargs -r0 rmdir
242 find $TMP/${cgroup_subsys}_test -mindepth 1 -depth -type d -print0 | xargs -r0 rmdir
608 [ -d "${cgroup_name}" ] && rmdir "${cgroup_name}" && return 0
/third_party/ltp/testcases/kernel/syscalls/mkdir/
H A Dmkdir09.c62 TST_EXP_FAIL_SILENT(rmdir(tmpdir), ENOENT); in test2()
88 TST_EXP_PASS_SILENT(rmdir(tmpdir)); in test3()
/third_party/libwebsockets/lib/misc/
H A Ddir.c44 #define rmdir _rmdir macro
266 if (rmdir(path)) in lws_dir_rm_rf_cb()
267 lwsl_warn("%s: rmdir %s failed %d\n", __func__, path, errno); in lws_dir_rm_rf_cb()
274 if (rmdir(path)) in lws_dir_rm_rf_cb()
/third_party/ltp/testcases/kernel/controllers/pids/
H A Dpids.sh240 rmdir $testpath/child$i
272 rmdir $testpath/child
334 rmdir $testpath/child$i

Completed in 21 milliseconds

12345678910