| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/ |
| H A D | storage.py | 35 (status, output) = cls.target.run('touch %s/%s' % (cls.test_dir, cls.test_file)) 36 msg = ('File %s not created on %s' % (cls.test_file, cls.device)) 40 (cls.test_dir, cls.test_file, cls.test_dir, cls.test_file)) 41 msg = ('File %s not moved to %s' % (cls.test_file, cls.device)) 44 (status, output) = cls.target.run('rm %s/%s1' % (cls.test_dir, cls.test_file)) 45 msg = ('File %s not removed on %s' % (cls.test_file, cls.device)) 51 (cls.test_dir, cls.test_file)) 54 msg = ('Test message %s not in file %s.' % (cls.test_msg, cls.test_file)) 60 (cls.test_msg, cls.test_dir, cls.test_file)) 61 msg = ('File %s not create test message on %s' % (cls.test_file, cls.device)) [all …]
|
| H A D | rpm.py | 91 cls.test_file = os.path.join(rpmdir, f) 96 self.tc.target.copyTo(self.test_file, self.dst) 126 self.tc.target.copyTo(self.test_file, self.dst)
|
| /OK3568_Linux_fs/u-boot/test/py/tests/ |
| H A D | test_hush_if_test.py | 139 test_file = u_boot_console.config.result_dir + \ 143 os.unlink(test_file) 146 assert not os.path.exists(test_file) 148 expr = 'test -e hostfs - ' + test_file 152 with file(test_file, 'wb'): 154 assert os.path.exists(test_file) 156 expr = 'test -e hostfs - ' + test_file 159 os.unlink(test_file) 161 expr = 'test -e hostfs - ' + test_file
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf_dump.c | 51 char test_file[256], out_file[256], diff_cmd[1024]; in test_btf_dump_case() local 56 snprintf(test_file, sizeof(test_file), "%s.o", t->file); in test_btf_dump_case() 58 btf = btf__parse_elf(test_file, NULL); in test_btf_dump_case() 99 snprintf(test_file, sizeof(test_file), "progs/%s.c", t->file); in test_btf_dump_case() 100 if (access(test_file, R_OK) == -1) in test_btf_dump_case() 105 snprintf(test_file, sizeof(test_file), "%s.c", t->file); in test_btf_dump_case() 118 test_file, out_file); in test_btf_dump_case()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_lockup.c | 144 struct file *test_file; variable 518 test_file = filp_open(test_file_path, O_RDONLY, 0); in test_lockup_init() 519 if (IS_ERR(test_file)) { in test_lockup_init() 520 pr_err("failed to open %s: %ld\n", test_file_path, PTR_ERR(test_file)); in test_lockup_init() 521 return PTR_ERR(test_file); in test_lockup_init() 523 test_inode = file_inode(test_file); in test_lockup_init() 534 if (test_lock_mapping && test_file && test_file->f_mapping) in test_lockup_init() 535 lock_rwsem_ptr = (unsigned long)&test_file->f_mapping->i_mmap_rwsem; in test_lockup_init() 592 if (test_file) in test_lockup_init() 593 fput(test_file); in test_lockup_init()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/ |
| H A D | incfs_test.c | 129 struct test_file { struct 143 struct test_file *files; argument 157 static struct test_file files[] = { in get_test_files_set() 202 static struct test_file files[] = { in get_small_test_files_set() 386 static int emit_test_blocks(const char *mnt_dir, struct test_file *file, in emit_test_blocks() 513 static int emit_test_block(const char *mnt_dir, struct test_file *file, in emit_test_block() 543 static int emit_test_file_data(const char *mount_dir, struct test_file *file) in emit_test_file_data() 679 struct test_file *file, in validate_test_file_content_with_seed() 741 struct test_file *file) in validate_test_file_content() 764 struct test_file *file = NULL; in data_producer() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | selftest.py | 22 test_file = "external-layer.py" 27 found_file = search_test_file(test_file) 28 self.assertTrue(found_file, msg="Can't find %s in the oeqa path" % test_file)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/oelib/ |
| H A D | buildhistory.py | 24 self.test_file = "test" 40 with open(os.path.join(self.repo_path, self.test_file), 'w') as repo_file: 73 change_records = compare_dict_blobs(os.path.join(self.repo_path, self.test_file), 92 change_records = compare_dict_blobs(os.path.join(self.repo_path, self.test_file),
|
| /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/bldcontrol/management/commands/ |
| H A D | runbuilds.py | 195 test_file = os.path.join(builddir, '._toaster_check.txt') 196 … os.system("tail -n 50 %s > %s" % (os.path.join(builddir, 'toaster_ui.log'),test_file)) 199 with open(test_file,'r') as test_file_fd: 229 if os.path.isfile(test_file): 230 os.remove(test_file)
|
| /OK3568_Linux_fs/kernel/tools/perf/tests/ |
| H A D | dso-data.c | 18 static char *test_file(int size) in test_file() function 120 char *file = test_file(TEST_FILE_SIZE); in test__dso_data() 214 file = test_file(size); in dsos__create()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/mm/ |
| H A D | subpage_prot.c | 185 int test_file(void) in test_file() function 235 return test_harness(test_file, "subpage_prot_file"); in main()
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/ |
| H A D | package_manager.py | 186 test_file = getCaseFile(test_case) 187 json_file = _get_json_file(test_file)
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/elfutils/ |
| H A D | elfutils_0.186.bb | 72 for test_file in ${TEST_FILES}; do 73 if [ -f ${B}/src/${test_file} ]; then 74 cp -r ${B}/src/${test_file} ${D}${PTEST_PATH}/src
|