Home
last modified time | relevance | path

Searched refs:testpath (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/kernel/
H A Dkernel-small-debug-shell-file-mv.md47 - mv -i test.txt testpath/
59 OHOS:/$ mkdir testpath
60 OHOS:/$ touch testpath/test.txt
61 OHOS:/$ mv -i test.txt testpath/
64 bin etc proc storage testpath usr
66 OHOS:/$ cp testpath/test.txt ./
69 dev lib sdcard system testpath usr
70 OHOS:/$ mv -i test.txt testpath/
74 dev lib sdcard system testpath usr
84 OHOS:/$ mv test?.txt testpath/
[all …]
H A Dkernel-small-debug-shell-file-mkdir.md42 - mkdir testpath
44 - mkdir -m 777 testpath
53 OHOS:/tmp$ mkdir testpath
56 drwxrwxrwx 1 0 0 2048 1979-12-31 00:00 testpath/
63 OHOS:/tmp$ mkdir -m 777 testpath
66 drwxrwxrwx 1 0 0 2048 1979-12-31 00:00 testpath/
H A Dkernel-small-debug-shell-file-rm.md44 - 输入rm -r testpath/
62 **示例2** 用 rm -r 删除非空目录 testpath
67 bin etc proc storage testpath usr
69 OHOS:/$ rm -r testpath/
/ohos5.0/docs/en/device-dev/kernel/
H A Dkernel-small-debug-shell-file-mv.md47 - mv -i test.txt testpath/
59 OHOS:/$ mkdir testpath
60 OHOS:/$ touch testpath/test.txt
61 OHOS:/$ mv -i test.txt testpath/
64 bin etc proc storage testpath usr
66 OHOS:/$ cp testpath/test.txt ./
69 dev lib sdcard system testpath usr
70 OHOS:/$ mv -i test.txt testpath/
74 dev lib sdcard system testpath usr
84 OHOS:/$ mv test?.txt testpath/
[all …]
H A Dkernel-small-debug-shell-file-mkdir.md41 - mkdir testpath
43 - mkdir -m 777 testpath
49 Example 1: Create a directory named **testpath**.
53 OHOS:/tmp$ mkdir testpath
56 drwxrwxrwx 1 0 0 2048 1979-12-31 00:00 testpath/
59 Example 2: Create a directory named **testpath** with specified permissions.
63 OHOS:/tmp$ mkdir -m 777 testpath
66 drwxrwxrwx 1 0 0 2048 1979-12-31 00:00 testpath/
H A Dkernel-small-debug-shell-file-rm.md44 - rm -r testpath/
62 Example 2: Delete **testpath**, a non-empty directory.
67 bin etc proc storage testpath usr
69 OHOS:/$ rm -r testpath/
/ohos5.0/base/hiviewdfx/hidumper/test/unittest/common/
H A Dhidumper_configutils_test.cpp350 string testpath = "/data"; variable
351 ASSERT_TRUE(fileutils->CreateFolder(testpath));
352 testpath = "";
353 ASSERT_TRUE(fileutils->CreateFolder(testpath));
354 testpath = "test";
355 ASSERT_TRUE(!(fileutils->CreateFolder(testpath)));
356 testpath = "/data/log/testhidumper";
357 ASSERT_TRUE(fileutils->CreateFolder(testpath));
358 ASSERT_TRUE(access(testpath.c_str(), F_OK) == 0);