Tests: Fix open test on some automount cloud providers

This commit is contained in:
Wilson Snyder
2021-11-28 15:40:35 -05:00
parent e814855357
commit ca09f73446
+2 -2
View File
@@ -27,12 +27,12 @@ int main(int argc, char* argv[]) {
Verilated::debug(0);
{
VerilatedSave os;
os.open("/No_such_file_as_this");
os.open("/No/such_file_as_this");
TEST_CHECK_EQ(os.isOpen(), false);
}
{
VerilatedRestore os;
os.open("/No_such_file_as_this");
os.open("/No/such_file_as_this");
TEST_CHECK_EQ(os.isOpen(), false);
}