/openbmc/linux/tools/perf/tests/shell/ |
H A D | test_uprobe_from_different_cu.sh | 20 perf probe -x ${temp_dir}/testfile -d foo || true 34 cat > ${temp_dir}/testfile-foo.h << EOF 44 cat > ${temp_dir}/testfile-foo.c << EOF 58 cat > ${temp_dir}/testfile-main.c << EOF 76 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo.o 77 gcc -g -Og -c ${temp_dir}/testfile-main.c -o ${temp_dir}/testfile-main.o 78 gcc -g -Og -o ${temp_dir}/testfile ${temp_dir}/testfile-foo.o ${temp_dir}/testfile-main.o 80 perf probe -x ${temp_dir}/testfile --funcs foo 81 perf probe -x ${temp_dir}/testfile foo
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/ |
H A D | file_handler_unittest.cpp | 43 std::ofstream testfile; in TEST_F() local 44 testfile.open(TESTPATH, std::ios::out); in TEST_F() 45 testfile << "Hello world"; in TEST_F() 75 std::ofstream testfile; in TEST_F() local 76 testfile.open(TESTPATH, std::ios::out); in TEST_F() 81 testfile.close(); in TEST_F() 94 std::ofstream testfile; in TEST_F() local 95 testfile.open(TESTPATH, std::ios::out); in TEST_F() 103 testfile.close(); in TEST_F() 113 std::ofstream testfile; in TEST_F() local [all …]
|
H A D | firmware_json_unittest.cpp | 623 std::ofstream testfile; in TEST() local 624 testfile.open(TESTFNAME, std::ios::out); in TEST() 645 testfile << good.dump(4); in TEST() 646 testfile.flush(); in TEST() 665 std::ofstream testfile; in TEST() local 666 testfile.open(TESTFNAME, std::ios::out); in TEST() 667 testfile << "{] a malformed json {{"; in TEST() 668 testfile.flush(); in TEST()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nspr/nspr/ |
H A D | 0001-Fix-Wincompatible-function-pointer-types.patch | 7 testfile.c:576:31: error: incompatible function pointer types passing 'PRInt32 (void *)' (aka 'int … 12 pr/tests/testfile.c | 4 ++-- 15 diff --git a/pr/tests/testfile.c b/pr/tests/testfile.c 17 --- a/pr/tests/testfile.c 18 +++ b/pr/tests/testfile.c
|
/openbmc/linux/tools/cgroup/ |
H A D | iocost_coef_gen.py | 89 def run_fio(testfile, duration, iotype, iodepth, blocksize, jobs): argument 130 testfile = f'/dev/{devname}' variable 134 testfile = 'iocost-coef-fio.testfile' variable 136 create_testfile(testfile, testfile_size) 155 rbps = run_fio(testfile, args.duration, 'read', 158 rseqiops = round(run_fio(testfile, args.duration, 'read', 161 rrandiops = round(run_fio(testfile, args.duration, 'randread', 164 wbps = run_fio(testfile, args.duration, 'write', 167 wseqiops = round(run_fio(testfile, args.duration, 'write', 170 wrandiops = round(run_fio(testfile, args.duration, 'randwrite',
|
/openbmc/openbmc/poky/meta/recipes-extended/slang/slang/ |
H A D | test-add-output-in-the-format-result-testname.patch | 20 tests_failed="$tests_failed $testfile" 21 + echo "FAIL: $testfile" 23 touch lastrun/$testfile 24 + echo "PASS: $testfile"
|
/openbmc/linux/samples/bpf/ |
H A D | test_override_return.sh | 4 rm -f testfile.img 5 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1 6 DEVICE=$(losetup --show -f testfile.img)
|
H A D | .gitignore | 44 testfile.img
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | recipetool.py | 48 self.testfile = os.path.join(self.tempdir, 'testfile') 49 with open(self.testfile, 'w') as f: 1215 newfile = self.testfile 1360 ('??', '.*/%s/%s$' % (testrecipe, os.path.basename(self.testfile)))] 1365 'file://%s \\\\' % os.path.basename(self.testfile), 1379 with open(self.testfile, 'r') as testfile: 1381 self.assertEqual(testfile.read(), makefilein.read()) 1384 newfiles = [self.testfile] 1386 testfile = os.path.join(self.tempdir, 'testfile%d' % i) 1387 with open(testfile, 'w') as f: [all …]
|
H A D | wic.py | 1555 with NamedTemporaryFile("w", suffix=".wic-cp") as testfile: 1556 testfile.write("test") 1559 runCmd("wic cp %s %s:1/ -n %s" % (testfile.name, images[0], sysroot)) 1564 self.assertIn(os.path.basename(testfile.name), result.output) 1570 copy(testfile.name, testdir) 1581 dest = '%s-cp' % testfile.name 1583 os.path.basename(testfile.name), dest, sysroot)) 1645 with NamedTemporaryFile("w", suffix=".wic-cp") as testfile: 1646 testfile.write("test") 1649 runCmd("wic cp %s %s:2/ -n %s" % (testfile.name, images[0], sysroot)) [all …]
|
H A D | devtool.py | 1575 testfile = os.path.join(self.workspacedir, 'sources', testrecipe, 'testfile') 1576 self.assertExists(testfile, 'Extracted source could not be found') 1577 with open(testfile, 'r') as f: 1755 testfile = '/sbin/mdadm' 1779 self.assertIn(' %s' % testfile, result.output)
|
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0/ |
H A D | 0002-tests-add-support-for-install-the-tests.patch | 61 +testfile = meson.current_source_dir() + '/meson.build' 63 + install_data(testfile, install_dir : installed_tests_metadir, rename : 'testfile') 64 + testfile = installed_tests_metadir + '/testfile' 66 +test_defines += '-DTESTFILE="@0@"'.format(testfile)
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | split_huge_page_test.c | 238 char testfile[INPUT_MAX]; in split_file_backed_thp() local 250 status = snprintf(testfile, INPUT_MAX, "%s/thp_file", tmpfs_loc); in split_file_backed_thp() 256 fd = open(testfile, O_CREAT|O_WRONLY, 0664); in split_file_backed_thp() 272 write_debugfs(PATH_FMT, testfile, pgoff_start, pgoff_end); in split_file_backed_thp() 274 status = unlink(testfile); in split_file_backed_thp()
|
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/ |
H A D | volatiles | 14 # l root root 0777 /var/test /tmp/testfile 24 # a link will be created at /var/test pointing to /tmp/testfile and due to this 25 # link the file defined as /var/test will actually be created as /tmp/testfile.
|
/openbmc/openbmc/poky/meta-selftest/recipes-test/devtool/ |
H A D | devtool-test-subdir.bb | 5 file://testfile;subdir=${BPN}"
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | path.py | 105 testfile = None 108 testfile = os.path.join(root, files[0]) 111 if testfile is not None: 113 os.link(testfile, os.path.join(dst, 'testfile'))
|
/openbmc/openbmc/poky/meta-selftest/recipes-test/testrpm/ |
H A D | testrpm_0.0.1.bb | 6 SRC_URI = "file://testfile.txt"
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/ |
H A D | parse.py | 23 testfile = """ variable in ParseTest 50 f = self.parsehelper(self.testfile) 57 testfileB = self.testfile.replace("}", "")
|
H A D | fetch.py | 3153 with open(os.path.join(self.gitdir, self.testfilename), "w") as testfile: 3154 …testfile.write("File {} from branch {}; Useless random data {}".format(self.testfilename, branch, …
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | common.rc | 852 testfile="$TEST_DIR"/_check_o_direct 853 $QEMU_IMG create -f raw "$testfile" 1M > /dev/null 854 out=$($QEMU_IO -f raw -t none -c quit "$testfile" 2>&1) 855 rm -f "$testfile"
|
/openbmc/linux/Documentation/fault-injection/ |
H A D | fault-injection.rst | 430 rm -f testfile.img 431 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1 432 DEVICE=$(losetup --show -f testfile.img) 460 rm testfile.img
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/nspr/ |
H A D | nspr_4.35.bb | 140 testfile \
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | sanity.bbclass | 278 …testfile = os.path.join(filepath, ''.join(random.choice(string.ascii_letters) for x in range(200))) 282 f = open(testfile, "w") 284 os.remove(testfile)
|
/openbmc/openbmc/poky/documentation/profile-manual/ |
H A D | usage.rst | 2558 root@crownbay:/sys/kernel/debug/tracing# cat /media/sdc/testfile.txt
|
/openbmc/ |
H A D | opengrok2.0.log | 48044 …: /opengrok/data/xref/openbmc/openbmc/poky/meta-selftest/recipes-test/testrpm/files/testfile.txt.gz 48058 …k/data/xref/openbmc/openbmc/poky/meta-selftest/recipes-test/devtool/devtool-test-subdir/testfile.gz
|