/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() 79 testfile.write(reinterpret_cast<const char*>(testPattern.data()), 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() 101 testfile.write(reinterpret_cast<const char*>(testPattern.data()), in TEST_F() [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/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/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: 113 …_, output = self._try_recipetool_appendfile('base-files', '/etc/motd', self.testfile, '', expected… 118 …self._try_recipetool_appendfile_fail('/etc/passwd', self.testfile, ['ERROR: /etc/passwd cannot be … 119 …self._try_recipetool_appendfile_fail('/etc/timestamp', self.testfile, ['ERROR: /etc/timestamp cann… 120 …self._try_recipetool_appendfile_fail('/dev/console', self.testfile, ['ERROR: /dev/console cannot b… 131 …self._try_recipetool_appendfile_fail(lspath, self.testfile, ['ERROR: File %s is an alternative pos… 145 …bbappendfile, _ = self._try_recipetool_appendfile('coreutils', lspath, self.testfile, '-r coreutil… 169 …self._try_recipetool_appendfile('netbase', '/usr/share/something', self.testfile, '-r netbase', ex… 197 …tool_appendfile('netbase', '/usr/bin/selftest-recipetool-testbin', self.testfile, '-r netbase', ex… [all …]
|
H A D | wic.py | 1715 with NamedTemporaryFile("w", suffix=".wic-cp") as testfile: 1716 testfile.write("test") 1719 runCmd("wic cp %s %s:1/ -n %s" % (testfile.name, images[0], sysroot)) 1724 self.assertIn(os.path.basename(testfile.name), result.output) 1730 copy(testfile.name, testdir) 1741 dest = '%s-cp' % testfile.name 1743 os.path.basename(testfile.name), dest, sysroot)) 1805 with NamedTemporaryFile("w", suffix=".wic-cp") as testfile: 1806 testfile.write("test") 1809 runCmd("wic cp %s %s:2/ -n %s" % (testfile.name, images[0], sysroot)) [all …]
|
H A D | devtool.py | 1612 testfile = os.path.join(self.workspacedir, 'sources', testrecipe, 'testfile') 1613 self.assertExists(testfile, 'Extracted source could not be found') 1614 with open(testfile, 'r') as f: 1792 testfile = '/sbin/mdadm' 1794 testfile = '/usr/sbin/mdadm' 1818 self.assertIn(' %s' % testfile, result.output)
|
/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/recipes-multimedia/gstreamer/gstreamer1.0/ |
H A D | 0002-tests-add-support-for-install-the-tests.patch | 60 +testfile = meson.current_source_dir() + '/meson.build' 62 + install_data(testfile, install_dir : installed_tests_metadir, rename : 'testfile') 63 + testfile = installed_tests_metadir + '/testfile' 65 +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/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/devtool/ |
H A D | devtool-test-subdir.bb | 5 file://testfile;subdir=${BPN}"
|
/openbmc/openbmc/poky/meta-selftest/recipes-test/testrpm/ |
H A D | testrpm_0.0.1.bb | 6 SRC_URI = "file://testfile.txt"
|
/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/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 | 3172 with open(os.path.join(self.gitdir, self.testfilename), "w") as testfile: 3173 …testfile.write("File {} from branch {}; Useless random data {}".format(self.testfilename, branch, …
|
/openbmc/qemu/tests/functional/ |
H A D | meson.build | 273 testfile = 'test_' + test + '.py' variable 274 testpath = meson.current_source_dir() / testfile
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/openvpn/ |
H A D | openvpn_2.6.13.bb | 97 for testfile in $(find ${dir} -name "*testdriver"); do 98 cp -rf ${testfile} ${target_dir}/
|
/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.36.bb | 139 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
|