Home
last modified time | relevance | path

Searched refs:rmdir (Results 26 - 50 of 231) sorted by relevance

12345678910

/third_party/node/test/parallel/
H A Dtest-fs-null-bytes.js74 check(fs.rmdir, fs.rmdirSync, 'foo\u0000bar');
109 check(fs.rmdir, fs.rmdirSync, fileUrl);
141 check(fs.rmdir, fs.rmdirSync, fileUrl2);
H A Dtest-fs-error-messages.js352 // rmdir
358 `ENOENT: no such file or directory, rmdir '${nonexistentFile}'`);
361 assert.strictEqual(err.syscall, 'rmdir');
365 fs.rmdir(nonexistentFile, common.mustCall(validateError));
373 // rmdir a file
377 assert.strictEqual(err.syscall, 'rmdir');
381 `ENOTDIR: not a directory, rmdir '${existingFile}'`);
386 `ENOENT: no such file or directory, rmdir '${existingFile}'`);
393 fs.rmdir(existingFile, common.mustCall(validateError));
/third_party/ltp/testcases/kernel/controllers/cpuset/
H A Dcpuset_funcs.sh197 rmdir "$subdir"
209 rmdir "$CPUSET" > /dev/null 2>&1
/third_party/python/Tools/msi/
H A Dget_externals.bat27 rmdir /s /q "%EXTERNALS_DIR%" || rmdir /s /q "%EXTERNALS_DIR%"
/third_party/musl/src/unistd/
H A Drmdir.c5 int rmdir(const char *path) in rmdir() function
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dremove.c9 if (r==-EISDIR) r = rmdir(path); in remove()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dremove.c9 if (r==-EISDIR) r = rmdir(path); in remove()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dremove.c9 if (r==-EISDIR) r = rmdir(path); in remove()
/third_party/ltp/testcases/kernel/syscalls/rmdir/
H A Drmdir01.c7 * This test will verify that rmdir(2) syscall basic functionality.
8 * verify rmdir(2) returns a value of 0 and the directory being removed.
24 TEST(rmdir(TESTDIR)); in verify_rmdir()
26 tst_res(TFAIL | TTERRNO, "rmdir(%s) failed", TESTDIR); in verify_rmdir()
31 tst_res(TFAIL, "rmdir(%s) failed", TESTDIR); in verify_rmdir()
33 tst_res(TPASS, "rmdir(%s) success", TESTDIR); in verify_rmdir()
H A Drmdir03.c8 * check rmdir() fails with EPERM or EACCES
11 * create directory tstdir2 under tstdir1. Call rmdir(),
12 * set to be user nobody. Pass tstdir2 to rmdir(2), verify
17 * tstdir1. Call rmdir(), set to be user nobody. Pass
18 * tstdir2 to rmdir(2), verify the return value is not 0 and
47 TEST(rmdir(tc->subdir)); in do_rmdir()
49 tst_res(TFAIL, "rmdir() succeeded unexpectedly"); in do_rmdir()
55 tst_res(TPASS | TTERRNO, "rmdir() got expected errno"); in do_rmdir()
61 tst_res(TPASS | TTERRNO, "rmdir() got expected errno"); in do_rmdir()
/third_party/toybox/toys/posix/
H A Drmdir.c0 /* rmdir.c - remove directory/path
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/rmdir.html
7 USE_RMDIR(NEWTOY(rmdir, "<1(ignore-fail-on-non-empty)p(parents)", TOYFLAG_BIN))
10 bool "rmdir"
13 usage: rmdir [-p] [DIR...]
29 if (rmdir(name)) { in do_rmdir()
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
H A Dmemcg_subgroup_charge.sh46 rmdir subgroup
/third_party/python/Tools/buildbot/
H A Dclean.bat16 rmdir /s /q "%root%\build"
/third_party/ffmpeg/libavformat/
H A Dos_support.h199 DEF_FS_FUNCTION(rmdir, _wrmdir , _rmdir)
310 #define rmdir win32_rmdir macro
/third_party/cJSON/
H A DMakefile154 $(if $(wildcard $(INSTALL_LIBRARY_PATH)/*.*),,rmdir $(INSTALL_LIBRARY_PATH))
155 $(if $(wildcard $(INSTALL_INCLUDE_PATH)/*.*),,rmdir $(INSTALL_INCLUDE_PATH))
/third_party/NuttX/fs/nfs/
H A Drpc.h370 struct RMDIR3args rmdir; member
492 struct RMDIR3resok rmdir; member
H A Dnfs_mount.h123 struct rpc_call_rmdir rmdir; member
/third_party/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_file_test.c165 show_prompt("rmdir()"); in stage_file_test()
166 show_result(rmdir(rmdir_path)); in stage_file_test()
217 rmdir(mkdir_path); in creanup_files()
237 set_profile(3, "file::rmdir"); in set_file_enforce()
261 set_profile(0, "file::rmdir"); in set_file_enforce()
/third_party/ltp/testcases/network/nfsv4/locks/
H A Dlocktests.py36 def rmdir(self,dir): member in Machine
96 self.rmdir(unexportDir)
/third_party/python/Lib/test/
H A Dtest_unicode_file_functions.py2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir
104 self._apply_failure(os.rmdir, name)
141 self._apply_failure(os.rmdir, name)
/third_party/icu/tools/multi/proj/chello/
H A DMakefile43 -rmdir $(OUT)
/third_party/python/Lib/distutils/command/
H A Dclean.py73 os.rmdir(self.build_base)
/third_party/python/Lib/
H A Dshutil.py624 os.rmdir(path)
626 onerror(os.rmdir, path, sys.exc_info())
664 os.rmdir(entry.name, dir_fd=topfd)
666 onerror(os.rmdir, fullname, sys.exc_info())
685 _use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
736 os.rmdir(path, dir_fd=dir_fd)
738 onerror(os.rmdir, path, sys.exc_info())
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
H A Dcgroup_fj_common.sh12 TST_NEEDS_CMDS="rmdir killall"
76 [ -d "$start_path" ] && find "$start_path" -depth -type d -exec rmdir '{}' \;
/third_party/googletest/googletest/test/
H A Dgtest_dirs_test.cc57 ~MakeTempDir() { GTEST_CHECK_POSIX_SUCCESS_(rmdir(dirname_.c_str())); } in ~MakeTempDir()

Completed in 10 milliseconds

12345678910