/third_party/node/test/parallel/ |
H A D | test-fs-rmdir-recursive.js | 12 '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 D | test-trace-events-fs-async.js | 161 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 D | rmdir.c | 34 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 D | cgroup_fj_function.sh | 65 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 D | memcg_stat_test.sh | 55 rmdir subgroup 73 rmdir subgroup 93 rmdir subgroup 114 rmdir subgroup
|
H A D | memcg_use_hierarchy_test.sh | 27 rmdir subgroup 39 rmdir subgroup 52 rmdir subgroup
|
H A D | memcg_move_charge_at_immigrate_test.sh | 32 rmdir subgroup_a 51 rmdir subgroup_a subgroup_b
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
H A D | cgroup_regression_test.sh | 13 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 D | ftest06.c | 208 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 D | ftest02.c | 193 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 D | myfunctions.sh | 50 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 D | test_tempfile.py | 447 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 D | parameters.sh | 79 rmdir /dev/cpuctl/group* 2> /dev/null 81 rmdir /dev/cpuctl 2> /dev/null 110 rmdir /dev/cpuctl/group*
|
H A D | run_cpuctl_latency_test.sh | 73 rmdir /dev/cpuctl/group* #2> /dev/null 75 rmdir /dev/cpuctl #2> /dev/null
|
/third_party/python/Lib/test/support/ |
H A D | os_helper.py | 228 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 D | mkdirat.c | 33 rmdir("aa"); in mkdirat_0100() 48 rmdir("bb"); in mkdirat_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/ |
H A D | unistd_rmdir_test.cpp | 25 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 D | cpuacct.sh | 126 rmdir $testpath/subgroup_* 128 rmdir $testpath 134 rmdir $mount_point
|
/third_party/node/lib/internal/fs/ |
H A D | rimraf.js | 24 rmdir, 116 rmdir(path, (err) => { 139 return rmdir(path, callback); 157 rmdir(path, callback);
|
/third_party/libfuse/test/ |
H A D | test_syscalls.c | 624 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 D | libc_stat.cpp | 91 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 D | libcgroup_freezer | 110 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 D | mkdir09.c | 62 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 D | dir.c | 44 #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 D | pids.sh | 240 rmdir $testpath/child$i 272 rmdir $testpath/child 334 rmdir $testpath/child$i
|