Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 898) sorted by relevance

12345678910>>...36

/openbmc/phosphor-power/test/
H A Dtemporary_file_tests.cpp73 EXPECT_TRUE(fs::exists(path)); in TEST()
89 EXPECT_TRUE(fs::exists(file1.getPath())); in TEST()
102 EXPECT_TRUE(fs::exists(file2.getPath())); in TEST()
112 EXPECT_TRUE(fs::exists(file1.getPath())); in TEST()
120 EXPECT_TRUE(fs::exists(file2.getPath())); in TEST()
136 EXPECT_TRUE(fs::exists(path1)); in TEST()
139 EXPECT_FALSE(fs::exists(path2)); in TEST()
147 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
166 EXPECT_TRUE(fs::exists(path)); in TEST()
174 EXPECT_TRUE(fs::exists(file1.getPath())); in TEST()
[all …]
H A Dtemporary_subdirectory_tests.cpp34 EXPECT_TRUE(fs::exists(path)); in TEST()
49 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
62 EXPECT_TRUE(fs::exists(subdirectory2.getPath())); in TEST()
72 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
80 EXPECT_TRUE(fs::exists(subdirectory2.getPath())); in TEST()
97 EXPECT_TRUE(fs::exists(path1)); in TEST()
100 EXPECT_FALSE(fs::exists(path2)); in TEST()
108 EXPECT_TRUE(fs::exists(subdirectory.getPath())); in TEST()
127 EXPECT_TRUE(fs::exists(path)); in TEST()
135 EXPECT_TRUE(fs::exists(subdirectory1.getPath())); in TEST()
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Dtemporary_file_test.cpp90 EXPECT_TRUE(fs::exists(path)); in TEST_F()
105 EXPECT_TRUE(fs::exists(path)); in TEST_F()
120 EXPECT_TRUE(fs::exists(tmpFile->getPath())); in TEST_F()
133 EXPECT_TRUE(fs::exists(file.getPath())); in TEST_F()
144 EXPECT_TRUE(fs::exists(tmpFile->getPath())); in TEST_F()
151 EXPECT_TRUE(fs::exists(tmpFileNoData->getPath())); in TEST_F()
167 EXPECT_TRUE(fs::exists(path1)); in TEST_F()
170 EXPECT_FALSE(fs::exists(path2)); in TEST_F()
178 EXPECT_TRUE(fs::exists(tmpFile->getPath())); in TEST_F()
188 EXPECT_TRUE(fs::exists(path)); in TEST_F()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/clang/clang/
H A D0016-clang-driver-Add-dyld-prefix-when-checking-sysroot-f.patch29 - if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
30 - getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
31 + if (!getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/" + LibDir + "/" + Loade…
32 + getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/lib/" + Loader)) {
40 - if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
41 - getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
42 + if (!getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/" + LibDir + "/" + Loade…
43 + getVFS().exists(getDriver().SysRoot + getDriver().DyldPrefix + "/lib/" + Loader)) {
51 - if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
52 - getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
[all …]
H A D0006-clang-driver-Check-sysroot-for-ldso-path.patch30 + if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
31 + getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
41 + if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
42 + getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
50 + if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
51 + getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
61 + if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
62 + getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
72 + if (!getVFS().exists(getDriver().SysRoot + "/" + LibDir + "/" + Loader) &&
73 + getVFS().exists(getDriver().SysRoot + "/lib/" + Loader)) {
/openbmc/webui-vue/tests/unit/Global/
H A DStatusIcon.spec.js11 expect(wrapper.exists()).toBe(true);
14 expect(wrapper.find('.info').exists()).toBe(true);
18 expect(wrapper.find('.success').exists()).toBe(true);
22 expect(wrapper.find('.warning').exists()).toBe(true);
26 expect(wrapper.find('.danger').exists()).toBe(true);
30 expect(wrapper.find('.status-icon').exists()).toBe(true);
H A DInputPasswordToggle.spec.js16 expect(wrapper.exists()).toBe(true);
19 expect(wrapper.find('.isVisible').exists()).toBe(false);
23 expect(wrapper.find('.isVisible').exists()).toBe(true);
H A DPageTitle.spec.js15 expect(wrapper.exists()).toBe(true);
18 expect(wrapper.find('h1').exists()).toBe(true);
21 expect(wrapper.find('p').exists()).toBe(true);
H A DLoadingBar.spec.js17 expect(wrapper.exists()).toBe(true);
25 expect(wrapper.find('.progress').exists()).toBe(true);
33 expect(wrapper.find('.progress').exists()).toBe(false);
H A DPageContainer.spec.js11 expect(wrapper.exists()).toBe(true);
14 expect(wrapper.find('main').exists()).toBe(true);
H A DPageSection.spec.js14 expect(wrapper.exists()).toBe(true);
17 expect(wrapper.find('h2').exists()).toBe(true);
H A DTableToolbar.spec.js14 expect(wrapper.exists()).toBe(true);
18 expect(wrapper.find('.toolbar-container').exists()).toBe(true);
/openbmc/google-ipmi-sys/test/
H A Dbm_mode_transition_unittest.cpp66 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
76 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
78 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST()
91 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
93 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST()
95 EXPECT_CALL(*fsMockPtr, exists(fs::path(BM_SIGNAL_PATH), _)) in TEST()
97 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningFlagPath), _)) in TEST()
108 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneAckFlagPath), _)) in TEST()
110 EXPECT_CALL(*fsMockPtr, exists(fs::path(bmDriveCleaningDoneFlagPath), _)) in TEST()
112 EXPECT_CALL(*fsMockPtr, exists(fs::path(BM_SIGNAL_PATH), _)) in TEST()
/openbmc/phosphor-user-manager/test/
H A Dldap_config_test.cpp121 if (fs::exists(configFilePath)) in TEST_F()
125 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
154 EXPECT_TRUE(fs::exists(configFilePath)); in TEST_F()
181 if (fs::exists(configFilePath)) in TEST_F()
185 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
208 if (fs::exists(configFilePath)) in TEST_F()
212 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
241 if (fs::exists(configFilePath)) in TEST_F()
245 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
258 EXPECT_FALSE(fs::exists(configFilePath)); in TEST_F()
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dfetch.py882 self.assertTrue(os.path.exists(alt))
889 self.assertFalse(os.path.exists(alt))
902 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
903 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
917 self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
918 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
921 self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
932 self.assertTrue(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
933 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz.done")))
938 self.assertFalse(os.path.exists(os.path.join(self.dldir, "test-file.tar.gz")))
[all …]
/openbmc/openbmc/poky/scripts/
H A Doe-pkgdata-util43 if not os.path.exists(args.pkglistfile):
109 if os.path.exists(revlink):
112 if os.path.exists(fwdfile):
114 if not os.path.exists(fwdfile + ".packaged"):
118 if os.path.exists(revlink):
123 if os.path.exists(fwdfile):
130 if os.path.exists(fwdfile):
132 if not os.path.exists(fwdfile + ".packaged"):
181 if os.path.exists(revlink):
215 if os.path.exists(revlink):
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dimagefeatures.py114 self.assertTrue(os.path.exists(image_path))
115 self.assertTrue(os.path.exists(bmap_path))
116 self.assertTrue(os.path.exists(gzip_path))
150 self.assertTrue(os.path.exists(image_path))
185 self.assertTrue(os.path.exists(image_path))
186 self.assertTrue(os.path.exists(image_path + ".sha256sum"))
229 self.assertTrue(os.path.exists(image_path),
234 self.assertTrue(os.path.exists(image_path),
289 …self.assertTrue(os.path.exists(dbg_tar_file), 'debug filesystem not generated at %s' % dbg_tar_fil…
306 self.assertTrue(os.path.exists(manifest))
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dffdc_file_tests.cpp54 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
66 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
117 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
158 EXPECT_TRUE(fs::exists(file.getPath())); in TEST()
168 EXPECT_FALSE(fs::exists(path)); in TEST()
211 EXPECT_TRUE(fs::exists(path)); in TEST()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dlsb.py12 if os.path.exists('/etc/os-release'):
66 if os.path.exists('/etc/lsb-release'):
72 elif os.path.exists('/etc/redhat-release'):
81 elif os.path.exists('/etc/SuSE-release'):
H A Drootfspostcommands.py49 if os.path.exists(filename):
52 if os.path.exists(filename):
61 if os.path.exists(backup_filename):
/openbmc/u-boot/tools/patman/
H A Dproject.py21 if os.path.exists(os.path.join(top_level, "include", "u-boot")):
23 elif os.path.exists(os.path.join(top_level, "kernel")):
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dserialize.cpp32 if (fs::exists(path, ec)) in storePriority()
53 if (fs::exists(path, ec)) in storePurpose()
72 if (fs::exists(path, ec)) in restorePriority()
134 if (fs::exists(path, ec)) in restorePurpose()
156 if (fs::exists(path, ec)) in removePersistDataDirectory()
/openbmc/phosphor-fan-presence/control/json/utils/
H A Dpcie_card_metadata.cpp48 if (!fs::exists(confFile)) in loadCards()
58 if (!fs::exists(confFile)) in loadCards()
63 if (fs::exists(confFile)) in loadCards()
71 if (!fs::exists(confFile)) in loadCards()
76 if (fs::exists(confFile)) in loadCards()
/openbmc/telemetry/tests/src/
H A Dtest_persistent_json_storage.cpp19 ASSERT_FALSE(std::filesystem::exists(directory)); in SetUpTestSuite()
24 if (std::filesystem::exists(directory)) in TearDown()
164 ASSERT_FALSE(std::filesystem::exists(dummyReportPath)); in SetUpTestSuite()
170 if (std::filesystem::exists(dummyReportPath)) in TearDown()
214 EXPECT_TRUE(std::filesystem::exists(TestFixture::linkPath)); in TYPED_TEST()
215 EXPECT_TRUE(std::filesystem::exists(TestFixture::dummyReportPath)); in TYPED_TEST()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dlog_id.cpp60 if (!fs::exists(idFilename)) in generatePELID()
63 if (!fs::exists(path)) in generatePELID()
102 if (fs::exists(filename)) in checkFileForZeroData()

12345678910>>...36