Home
last modified time | relevance | path

Searched refs:DIR_TEMP (Results 1 – 19 of 19) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod03.c88 #define DIR_TEMP "testdir_3" macro
234 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
235 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
236 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
242 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
247 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup()
252 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod05.c88 #define DIR_TEMP "testdir_5" macro
231 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
232 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
233 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
239 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
243 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup()
248 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
252 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod04.c88 #define DIR_TEMP "testdir_4" macro
239 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
240 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
241 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_SGID); in setup()
247 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
252 "%s: Incorrect modes, setgid bit not set", DIR_TEMP); in setup()
257 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod08.c87 #define DIR_TEMP "testdir_1" macro
235 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
236 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
242 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
247 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup()
252 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod02.c88 #define DIR_TEMP "testdir_2" macro
240 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
241 SAFE_CHOWN(cleanup, DIR_TEMP, user1_uid, group2_gid); in setup()
247 SAFE_STAT(cleanup, DIR_TEMP, &buf); in setup()
252 "%s: Incorrect modes, setgid bit set", DIR_TEMP); in setup()
257 tst_brkm(TBROK, cleanup, "%s: Incorrect group", DIR_TEMP); in setup()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod07.c51 #define DIR_TEMP "testdir_1" macro
140 SAFE_MKDIR(cleanup, DIR_TEMP, DIR_TEMP_MODE); in setup()
/external/libchrome/base/
Dpath_service_unittest.cc208 PathService::RemoveOverride(DIR_TEMP); in TEST_F()
211 EXPECT_TRUE(PathService::Get(DIR_TEMP, &original_user_data_dir)); in TEST_F()
212 EXPECT_FALSE(PathService::RemoveOverride(DIR_TEMP)); in TEST_F()
216 EXPECT_TRUE(PathService::Override(DIR_TEMP, temp_dir.GetPath())); in TEST_F()
218 EXPECT_TRUE(PathService::Get(DIR_TEMP, &new_user_data_dir)); in TEST_F()
221 EXPECT_TRUE(PathService::RemoveOverride(DIR_TEMP)); in TEST_F()
222 EXPECT_TRUE(PathService::Get(DIR_TEMP, &new_user_data_dir)); in TEST_F()
Dbase_paths.h34 DIR_TEMP, // Temporary directory. enumerator
Dbase_paths.cc29 case DIR_TEMP: in PathProvider()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c33 #define DIR_TEMP "testdir_1" macro
120 SAFE_MKDIR(DIR_TEMP, MODE_RWX); in setup()
122 SAFE_CHMOD(DIR_TEMP, FILE_MODE); in setup()
137 SAFE_CHMOD(DIR_TEMP, MODE_RWX); in cleanup()
/external/ltp/testcases/kernel/syscalls/link/
Dlink07.c44 #define DIR_TEMP "testdir_1" macro
102 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup()
106 SAFE_CHMOD(cleanup, DIR_TEMP, MODE_TE); in setup()
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c94 #define DIR_TEMP "testdir_1" macro
265 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup1()
275 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup1()
348 SAFE_CHMOD(NULL, DIR_TEMP, MODE_RWX); in cleanup()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c34 #define DIR_TEMP "test_dir_1" macro
98 SAFE_MKDIR(DIR_TEMP, 0777); in setup()
101 SAFE_CHMOD(DIR_TEMP, 0444); in setup()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown04.c63 #define DIR_TEMP "testdir_1" macro
65 #define TEST_FILE2 (DIR_TEMP "/tfile_2")
171 SAFE_MKDIR(cleanup, DIR_TEMP, S_IRWXU); in setup()
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown02.c66 #define DIR_TEMP "testdir_1" macro
228 SAFE_MKDIR(cleanup, DIR_TEMP, MODE_RWX); in setup_eacces()
240 SAFE_CHMOD(cleanup, DIR_TEMP, FILE_MODE); in setup_eacces()
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.cc121 CHECK(base::PathService::Get(base::DIR_TEMP, &temp_dir)); in StartChildWithExtraSwitch()
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc87 CHECK(base::PathService::Get(base::DIR_TEMP,
/external/libchrome/mojo/core/
Dinvitation_unittest.cc316 CHECK(base::PathService::Get(base::DIR_TEMP, in LaunchChildTestClient()
/external/libchrome/base/process/
Dprocess_util_unittest.cc171 PathService::Get(DIR_TEMP, &tmp_dir); in GetSignalFilePath()