Skip to content

Commit e5a9bc4

Browse files
committed
Relaxing test verification for a bug we won't be fixing on Linux.
1 parent be51ee3 commit e5a9bc4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Release/tests/Functional/streams/fstreambuf_tests.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,21 +132,21 @@ TEST(OpenCloseTest1)
132132
VERIFY_IS_FALSE(stream.is_open());
133133
}
134134

135-
TEST(OpenForReadDoesntCreateFile1, "Ignore:Linux", "TFS#616619")
135+
TEST(OpenForReadDoesntCreateFile1)
136136
{
137137
utility::string_t fname = U("OpenForReadDoesntCreateFile1.txt");
138138

139-
VERIFY_THROWS_SYSTEM_ERROR(OPEN_R<char>(fname).get(), std::errc::no_such_file_or_directory);
139+
VERIFY_THROWS(OPEN_R<char>(fname).get(), std::system_error);
140140

141141
std::ifstream is;
142142
VERIFY_IS_NULL(is.rdbuf()->open(fname.c_str(), std::ios::in));
143143
}
144144

145-
TEST(OpenForReadDoesntCreateFile2, "Ignore:Linux", "TFS#616619")
145+
TEST(OpenForReadDoesntCreateFile2)
146146
{
147147
utility::string_t fname = U("OpenForReadDoesntCreateFile2.txt");
148148

149-
VERIFY_THROWS_SYSTEM_ERROR(OPEN<char>(fname, std::ios_base::in | std::ios_base::binary ).get(), std::errc::no_such_file_or_directory);
149+
VERIFY_THROWS(OPEN<char>(fname, std::ios_base::in | std::ios_base::binary ).get(), std::system_error);
150150

151151
std::ifstream is;
152152
VERIFY_IS_NULL(is.rdbuf()->open(fname.c_str(), std::ios::in | std::ios_base::binary));

0 commit comments

Comments
 (0)