Home
last modified time | relevance | path

Searched refs:testfile (Results 1 – 18 of 18) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Drecipetool.py35 self.testfile = os.path.join(self.tempdir, 'testfile')
36 with open(self.testfile, 'w') as f:
98 …_, output = self._try_recipetool_appendfile('base-files', '/etc/motd', self.testfile, '', expected…
103 …self._try_recipetool_appendfile_fail('/etc/passwd', self.testfile, ['ERROR: /etc/passwd cannot be …
104 …self._try_recipetool_appendfile_fail('/etc/timestamp', self.testfile, ['ERROR: /etc/timestamp cann…
105 …self._try_recipetool_appendfile_fail('/dev/console', self.testfile, ['ERROR: /dev/console cannot b…
110 …self._try_recipetool_appendfile_fail('/bin/ls', self.testfile, ['ERROR: File /bin/ls is an alterna…
124 …bbappendfile, _ = self._try_recipetool_appendfile('coreutils', '/bin/ls', self.testfile, '-r coreu…
148 …self._try_recipetool_appendfile('netbase', '/usr/share/something', self.testfile, '-r netbase', ex…
176 …tool_appendfile('netbase', '/usr/bin/selftest-recipetool-testbin', self.testfile, '-r netbase', ex…
[all …]
H A Dwic.py1377 with NamedTemporaryFile("w", suffix=".wic-cp") as testfile:
1378 testfile.write("test")
1381 runCmd("wic cp %s %s:1/ -n %s" % (testfile.name, images[0], sysroot))
1386 self.assertTrue(os.path.basename(testfile.name) in result.output)
1392 copy(testfile.name, testdir)
1403 dest = '%s-cp' % testfile.name
1405 os.path.basename(testfile.name), dest, sysroot))
1467 with NamedTemporaryFile("w", suffix=".wic-cp") as testfile:
1468 testfile.write("test")
1471 runCmd("wic cp %s %s:2/ -n %s" % (testfile.name, images[0], sysroot))
[all …]
H A Ddevtool.py1322 testfile = os.path.join(self.workspacedir, 'sources', testrecipe, 'testfile')
1323 self.assertExists(testfile, 'Extracted source could not be found')
1324 with open(testfile, 'r') as f:
1475 testfile = '/sbin/mdadm'
1499 self.assertIn(' %s' % testfile, result.output)
/OK3568_Linux_fs/kernel/tools/cgroup/
H A Diocost_coef_gen.py89 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',
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/slang/slang/
H A Dtest-add-output-in-the-format-result-testname.patch20 tests_failed="$tests_failed $testfile"
21 + echo "FAIL: $testfile"
23 touch lastrun/$testfile
24 + echo "PASS: $testfile"
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtest_override_return.sh4 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.gitignore54 testfile.img
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0/
H A D0002-tests-add-support-for-install-the-tests.patch60 +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)
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/initscripts/initscripts-1.0/
H A Dvolatiles14 # 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.
/OK3568_Linux_fs/yocto/poky/meta/lib/oe/
H A Dpath.py103 testfile = None
106 testfile = os.path.join(root, files[0])
109 if testfile is not None:
111 os.link(testfile, os.path.join(dst, 'testfile'))
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/
H A Dparse.py23 testfile = """ variable in ParseTest
50 f = self.parsehelper(self.testfile)
57 testfileB = self.testfile.replace("}", "")
/OK3568_Linux_fs/yocto/poky/meta-selftest/recipes-test/devtool/
H A Ddevtool-test-subdir.bb5 file://testfile;subdir=${BPN}"
/OK3568_Linux_fs/kernel/Documentation/fault-injection/
H A Dfault-injection.rst330 rm -f testfile.img
331 dd if=/dev/zero of=testfile.img bs=1M seek=1000 count=1
332 DEVICE=$(losetup --show -f testfile.img)
360 rm testfile.img
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/nspr/
H A Dnspr_4.29.bb140 testfile \
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dsanity.bbclass272testfile = os.path.join(filepath, ''.join(random.choice(string.ascii_letters) for x in range(200)))
276 f = open(testfile, "w")
278 os.remove(testfile)
/OK3568_Linux_fs/external/xserver/
H A Dconfigure.ac625 touch testfile
626 chown root testfile > /dev/null 2>&1 || SETUID="no"
627 rm -f testfile
H A Dconfigure24228 touch testfile
24229 chown root testfile > /dev/null 2>&1 || SETUID="no"
24230 rm -f testfile
/OK3568_Linux_fs/yocto/poky/documentation/profile-manual/
H A Dusage.rst2535 root@crownbay:/sys/kernel/debug/tracing# cat /media/sdc/testfile.txt