Home
last modified time | relevance | path

Searched refs:TEST_DIR (Results 1 – 25 of 36) sorted by relevance

12

/external/openssh/
Dbuildpkg.sh.in201 mkdir -p $FAKE_ROOT${TEST_DIR}${SMF_METHOD_DIR}
202 mkdir -p $FAKE_ROOT${TEST_DIR}${SMF_MANIFEST_DIR}
204 cp ${OPENSSHD} $FAKE_ROOT${TEST_DIR}${SMF_METHOD_DIR}/${SYSVINIT_NAME}
205 chmod 744 $FAKE_ROOT${TEST_DIR}${SMF_METHOD_DIR}/${SYSVINIT_NAME}
210 > $FAKE_ROOT${TEST_DIR}${SMF_MANIFEST_DIR}/${SYSVINIT_NAME}.xml
211 chmod 644 $FAKE_ROOT${TEST_DIR}${SMF_MANIFEST_DIR}/${SYSVINIT_NAME}.xml
213 mkdir -p $FAKE_ROOT${TEST_DIR}/etc/init.d
215 cp ${OPENSSHD} $FAKE_ROOT${TEST_DIR}/etc/init.d/${SYSVINIT_NAME}
216 chmod 744 $FAKE_ROOT${TEST_DIR}/etc/init.d/${SYSVINIT_NAME}
273 $TEST_DIR/etc/rc0.d/${SYSVINITSTOPT}${SYSVINIT_NAME} 0 1
[all …]
/external/google-breakpad/android/
Dtest-shell.sh55 TEST_DIR=/data/local/tmp/test-google-breakpad-$$
56 adb_shell mkdir "$TEST_DIR" ||
57 panic "Can't create test directory on device: $TEST_DIR"
62 adb_shell rm -r "$TEST_DIR"
76 adb_install "$TEST_PROGRAM_DIR/linux_dumper_unittest_helper" "$TEST_DIR"
79 adb_install "$TEST_PROGRAM_DIR/linux_client_unittest_shlib" "$TEST_DIR"
120 adb_shell mkdir -p "$TEST_DIR/$FILEDIR"
121 adb_install "${srcdir:-.}/$FILE" "$TEST_DIR"/"$FILE"
125 adb_install "$TEST_PROGRAM" "$TEST_DIR"
128 adb_shell "cd $TEST_DIR && LD_LIBRARY_PATH=. ./$TEST_PROGRAM_NAME $@"
/external/ltp/testcases/kernel/syscalls/renameat2/
Drenameat202.c31 #define TEST_DIR "test_dir/" macro
90 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
93 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
96 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
99 SAFE_FILE_PRINTF(cleanup, TEST_DIR TEST_FILE, "%s", content); in setup()
138 emptyfile = TEST_DIR TEST_FILE; in renameat2_verify()
142 contentfile = TEST_DIR TEST_FILE; in renameat2_verify()
Drenameat201.c42 #define TEST_DIR "test_dir/" macro
112 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
115 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
117 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE3, 0600, NULL); in setup()
119 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_agent_unittest.py30 TEST_DIR = os.path.join(os.path.dirname(__file__), os.pardir, 'test_data') variable
31 ATRACE_DATA = os.path.join(TEST_DIR, 'atrace_data')
32 ATRACE_DATA_RAW = os.path.join(TEST_DIR, 'atrace_data_raw')
33 ATRACE_DATA_STRIPPED = os.path.join(TEST_DIR, 'atrace_data_stripped')
34 ATRACE_PROCFS_DUMP = os.path.join(TEST_DIR, 'atrace_procfs_dump')
35 ATRACE_EXTRACTED_TGIDS = os.path.join(TEST_DIR, 'atrace_extracted_tgids')
36 ATRACE_MISSING_TGIDS = os.path.join(TEST_DIR, 'atrace_missing_tgids')
37 ATRACE_FIXED_TGIDS = os.path.join(TEST_DIR, 'atrace_fixed_tgids')
Datrace_from_file_agent_unittest.py16 TEST_DIR = os.path.join(os.path.dirname(__file__), '..', 'test_data') variable
18 COMPRESSED_ATRACE_DATA = os.path.join(TEST_DIR, 'compressed_atrace_data.txt')
19 DECOMPRESSED_ATRACE_DATA = os.path.join(TEST_DIR,
21 NON_EXISTENT_DATA = os.path.join(TEST_DIR, 'THIS_FILE_DOES_NOT_EXIST.txt')
/external/ltp/testcases/kernel/fs/mongo/
Dtest.sh25 TEST_DIR=testdir
61 mkdir -p $TEST_DIR
62 …gfile1 file_size=10000 bytes=100000 fstype=reiserfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DI…
77 mkdir -p $TEST_DIR
80 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=jfs dev=/dev/loop0 dir=$TEST_DIR
109 rm -rf $TEST_DIR
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat01.c52 #define TEST_DIR "test_dir/" macro
66 {&fd_atcwd, TEST_DIR TEST_FILE, 0, 0}
124 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
125 dir_fd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
126 fd = SAFE_OPEN(cleanup, TEST_DIR TEST_FILE, O_CREAT | O_RDWR, 0600); in setup()
129 snprintf(glob_path, sizeof(glob_path), "%s/" TEST_DIR TEST_FILE, in setup()
/external/ltp/testcases/kernel/syscalls/fchdir/
Dfchdir01.c74 const char *TEST_DIR = "alpha"; variable
99 if ((r_val = mkdir(TEST_DIR, MODES)) == -1) in main()
102 if ((fd = open(TEST_DIR, O_RDONLY)) == -1) in main()
129 if ((r_val = rmdir(TEST_DIR)) == -1) in main()
152 if (strcmp(TEST_DIR, dir) == 0) in check_functionality()
/external/autotest/client/site_tests/firmware_TouchMTB/
Dsummary.sh49 TEST_DIR="${LOG_ROOT}/touch_firmware_test"
76 echo "The following directories in $TEST_DIR will be included in your summary."
77 ls "$TEST_DIR" --hide=latest
81 die "Please remove those undesired directories from $TEST_DIR"
88 find "$TEST_DIR" \( -name \*.log -o -name \*.html \) \
Dversion.sh26 TEST_DIR="/usr/local/autotest/tests/${PROJ}"
45 if ! $expect_scp "root@${FLAGS_remote}:${TEST_DIR}" "$VERSION_FILE"; then
46 die "Error: scp version file $VERSION_FILE to ${FLAGS_remote}:${TEST_DIR}"
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh44 TEST_DIR=$TMPDIR/utimensat_tests
45 FILE=$TEST_DIR/utimensat.test_file
306 sudo $s_arg -u $test_user mkdir -p $TEST_DIR
309 touch $TEST_DIR/tmp_file
310 chattr +a $TEST_DIR/tmp_file
312 rm -rf $TEST_DIR
315 chattr -a $TEST_DIR/tmp_file
317 cd $TEST_DIR
505 rm -rf "$TEST_DIR"
/external/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c53 #define TEST_DIR "test_dir" macro
54 #define TEST_EACCES TEST_DIR"/test_eacces"
125 SAFE_MKDIR(cleanup, TEST_DIR, MODE_RWX); in setup()
127 if (chmod(TEST_DIR, FILE_MODE) < 0) in setup()
128 tst_brkm(TBROK, cleanup, "chmod(2) of %s failed", TEST_DIR); in setup()
/external/ltp/testcases/kernel/syscalls/getdents/
Dgetdents02.c49 #define TEST_DIR "test_dir" macro
179 SAFE_MKDIR(cleanup, TEST_DIR, DIR_MODE); in test_enoent()
181 fd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in test_enoent()
182 if (rmdir(TEST_DIR) == -1) { in test_enoent()
184 "rmdir(%s) failed", TEST_DIR); in test_enoent()
/external/ltp/testcases/kernel/syscalls/readdir/
Dreaddir21.c48 #define TEST_DIR "test_dir" macro
105 SAFE_MKDIR(cleanup, TEST_DIR, DIR_MODE); in setup()
106 del_dir_fd = SAFE_OPEN(cleanup, TEST_DIR, O_RDONLY | O_DIRECTORY); in setup()
107 SAFE_RMDIR(cleanup, TEST_DIR); in setup()
/external/jsoncpp/src/jsontestrunner/
DCMakeLists.txt15 SET(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../test) variable
16 SET(RUNJSONTESTS_PATH ${TEST_DIR}/runjsontests.py)
18 …{PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" $<TARGET_FILE:jsontestrunner_exe> "${TEST_DIR}/data"
/external/ltp/testcases/kernel/syscalls/readv/
Dreadv03.c68 const char *TEST_DIR = "alpha"; variable
127 if ((r_val = mkdir(TEST_DIR, MODES)) == -1) { in setup()
132 if ((fd = open(TEST_DIR, O_RDONLY)) == -1) { in setup()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify04.c71 #define TEST_DIR "test_dir" macro
130 SAFE_MKDIR(cleanup, TEST_DIR, 00700); in setup()
134 wd_dir = myinotify_add_watch(fd_notify, TEST_DIR, IN_ALL_EVENTS); in setup()
138 fd_notify, TEST_DIR); in setup()
163 rmdir(TEST_DIR); in main()
/external/python/cpython2/Lib/test/
Dtest_modulefinder.py18 TEST_DIR = tempfile.mkdtemp() variable
19 TEST_PATH = [TEST_DIR, os.path.dirname(__future__.__file__)]
221 ofi = open_file(os.path.join(TEST_DIR, line.strip()))
256 distutils.dir_util.remove_tree(TEST_DIR)
/external/chromium-trace/catapult/systrace/systrace/
Doutput_generator_unittest.py20 TEST_DIR = os.path.join(os.path.dirname(__file__), 'test_data') variable
21 ATRACE_DATA = os.path.join(TEST_DIR, 'atrace_data')
22 BATTOR_DATA = os.path.join(TEST_DIR, 'battor_test_data.txt')
24 TEST_DIR, 'profile-chrome_systrace_perf_chrome_data')
/external/vboot_reference/tests/
Dcommon.sh14 TEST_DIR="${BUILD_DIR}/tests"
17 TESTKEY_SCRATCH_DIR=${TEST_DIR}/testkeys
/external/autotest/client/site_tests/video_GlitchDetection/
Dvideo_GlitchDetection.py43 file_utils.make_leaf_dir(constants.TEST_DIR)
131 constants.TEST_DIR,
135 capturer.write_images(test_indices, constants.TEST_DIR,
198 constants.TEST_DIR,
/external/linux-kselftest/tools/testing/selftests/ftrace/
Dftracetest100 TEST_DIR=$TOP_DIR/test.d
101 TEST_CASES=`find_testcases $TEST_DIR`
262 . $TEST_DIR/functions
/external/linux-kselftest/tools/testing/selftests/firmware/
Dfw_filesystem.sh9 TEST_DIR=$(dirname $0)
16 cat $TEST_DIR/config
/external/r8/tools/
Dcreate_art_tests.py13 TEST_DIR = "tests/2017-07-07/art" variable
60 source_dir = join(TEST_DIR, "dx" if toolchain == "none" else toolchain)

12