| /openbmc/phosphor-user-manager/test/ |
| H A D | json_serializer_test.cpp | 16 std::string test_file; member in JsonSerializerTest 27 test_file = tmpTemplate; in SetUp() 32 if (std::filesystem::exists(test_file)) in TearDown() 34 std::filesystem::remove(test_file); in TearDown() 41 JsonSerializer s(test_file); in TEST_F() 48 JsonSerializer s(test_file); in TEST_F() 57 JsonSerializer s(test_file); in TEST_F() 63 JsonSerializer s2(test_file); in TEST_F() 72 JsonSerializer s(test_file); in TEST_F() 82 JsonSerializer s2(test_file); in TEST_F() [all …]
|
| /openbmc/openbmc/meta-security/recipes-mac/smack/udp-smack-test/ |
| H A D | test_smack_udp_sockets.sh | 3 test_file="/tmp/smack_socket_udp" 30 $udp_server 50021 label2 2>$test_file & 33 $udp_client 50021 label1 2>$test_file & 48 $udp_server 50022 label2 2>$test_file & 51 $udp_client 50022 label1 2>$test_file & 66 $udp_client 50023 label1 2>$test_file & 79 $udp_server 50024 \* 2>$test_file & 82 $udp_client 50024 label1 2>$test_file & 95 $udp_server 50025 label1 2>$test_file & 98 $udp_client 50025 \* 2>$test_file &
|
| /openbmc/openbmc/meta-security/recipes-mac/smack/tcp-smack-test/ |
| H A D | test_smack_tcp_sockets.sh | 3 test_file=/tmp/smack_socket_tcp 49 $tcp_server 50017 label1 2>$test_file & 52 $tcp_client 50017 label2 label1 2>$test_file & 64 $tcp_server 50018 label1 2>$test_file & 67 $tcp_client 50018 label1 label1 2>$test_file & 80 $tcp_server 50019 \* 2>$test_file & 83 $tcp_client 50019 label1 label1 2>$test_file & 96 $tcp_server 50020 label1 2>$test_file & 99 $tcp_client 50020 label1 \* 2>$test_file &
|
| /openbmc/openbmc/meta-security/recipes-mac/smack/smack-test/ |
| H A D | smack_test_file_access.sh | 6 test_file=$TMP/smack_test_access_file 11 python3 $TMP/notroot.py $uid "TheOther" $ECHO 'TEST' > $test_file 12 chsmack -a "TheOther" $test_file 20 python3 $TMP/notroot.py $uid "TheOne" $CAT $test_file 2>&1 1>/dev/null | grep -q "Permission denied… 28 python3 $TMP/notroot.py $uid "TheOne" $CAT $test_file | grep -q "TEST" || RC=$? 38 chsmack -a '*' $test_file 39 python3 $TMP/notroot.py $uid "TheOne" $CAT $test_file | grep -q "TEST" || RC=$?
|
| /openbmc/u-boot/test/py/tests/ |
| H A D | test_hush_if_test.py | 138 test_file = u_boot_console.config.result_dir + \ 142 os.unlink(test_file) 145 assert not os.path.exists(test_file) 147 expr = 'test -e hostfs - ' + test_file 151 with open(test_file, 'wb'): 153 assert os.path.exists(test_file) 155 expr = 'test -e hostfs - ' + test_file 158 os.unlink(test_file) 160 expr = 'test -e hostfs - ' + test_file
|
| /openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
| H A D | storage.py | 37 (status, output) = cls.target.run('touch %s/%s' % (cls.test_dir, cls.test_file)) 38 msg = ('File %s not created on %s' % (cls.test_file, cls.device)) 42 (cls.test_dir, cls.test_file, cls.test_dir, cls.test_file)) 43 msg = ('File %s not moved to %s' % (cls.test_file, cls.device)) 46 (status, output) = cls.target.run('rm %s/%s1' % (cls.test_dir, cls.test_file)) 47 msg = ('File %s not removed on %s' % (cls.test_file, cls.device)) 53 (cls.test_dir, cls.test_file)) 56 msg = ('Test message %s not in file %s.' % (cls.test_msg, cls.test_file)) 62 (cls.test_msg, cls.test_dir, cls.test_file)) 63 msg = ('File %s not create test message on %s' % (cls.test_file, cls.device)) [all …]
|
| H A D | rpm.py | 92 self.test_file = os.path.join(rpmdir, f) 101 self.tc.target.copyTo(self.test_file, self.dst) 132 self.tc.target.copyTo(self.test_file, self.dst)
|
| /openbmc/qemu/block/ |
| H A D | blkverify.c | 23 BdrvChild *test_file; member 133 s->test_file = bdrv_open_child(qemu_opt_get(opts, "x-image"), options, in blkverify_open() 136 if (!s->test_file) { in blkverify_open() 155 bdrv_unref_child(bs, s->test_file); in blkverify_close() 156 s->test_file = NULL; in blkverify_close() 165 return bdrv_co_getlength(s->test_file->bs); in blkverify_co_getlength() 174 r->ret = r->request_fn(s->test_file, r->offset, r->bytes, r->qiov, in blkverify_do_test_req() 273 return bdrv_co_flush(s->test_file->bs); in blkverify_co_flush() 288 bdrv_recurse_can_replace(s->test_file->bs, to_replace); in blkverify_recurse_can_replace() 296 && s->test_file->bs->exact_filename[0]) in blkverify_refresh_filename() [all …]
|
| /openbmc/qemu/tests/unit/ |
| H A D | check-qdict.c | 291 FILE *test_file; in qdict_stress_test() local 296 test_file = fopen(test_file_path, "r"); in qdict_stress_test() 297 g_assert(test_file != NULL); in qdict_stress_test() 305 value = read_line(test_file, key); in qdict_stress_test() 314 reset_file(test_file); in qdict_stress_test() 318 value = read_line(test_file, key); in qdict_stress_test() 333 reset_file(test_file); in qdict_stress_test() 335 value = read_line(test_file, key); in qdict_stress_test() 344 fclose(test_file); in qdict_stress_test()
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
| H A D | selftest.py | 24 test_file = "external-layer.py" 29 found_file = search_test_file(test_file) 30 self.assertTrue(found_file, msg="Can't find %s in the oeqa path" % test_file)
|
| /openbmc/openpower-vpd-parser/test/ |
| H A D | meson.build | 63 foreach test_file : tests 65 test_file, 67 test_file.underscorify(), 68 test_file,
|
| /openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/oelib/ |
| H A D | buildhistory.py | 26 self.test_file = "test" 52 with open(os.path.join(self.repo_path, self.test_file), 'w') as repo_file: 85 change_records = compare_dict_blobs(os.path.join(self.repo_path, self.test_file), 104 change_records = compare_dict_blobs(os.path.join(self.repo_path, self.test_file),
|
| /openbmc/qemu/tests/tcg/multiarch/linux/ |
| H A D | linux-madvise.c | 29 static void test_file(void) in test_file() function 69 test_file(); in main()
|
| H A D | linux-test.c | 75 static void test_file(void) in test_file() function 540 test_file(); in main()
|
| /openbmc/openbmc/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)
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | findtests.py | 68 test_file = self.parse_test_name(words[0]) 72 self.groups[g].add(test_file)
|
| /openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
| H A D | package_manager.py | 188 test_file = getCaseFile(test_case) 189 json_file = _get_json_file(test_file)
|
| /openbmc/openbmc/poky/meta/recipes-devtools/elfutils/ |
| H A D | elfutils_0.192.bb | 79 for test_file in ${TEST_FILES}; do 80 if [ -f ${B}/src/${test_file} ]; then 81 cp -r ${B}/src/${test_file} ${D}${PTEST_PATH}/src
|
| /openbmc/qemu/docs/devel/testing/ |
| H A D | functional.rst | 64 $ pyvenv/bin/python3 ../tests/functional/test_file.py
|