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

View File

@ -27,12 +27,12 @@ int main(int argc, char* argv[]) {
Verilated::debug(0); Verilated::debug(0);
{ {
VerilatedSave os; VerilatedSave os;
os.open("/No_such_file_as_this"); os.open("/No/such_file_as_this");
TEST_CHECK_EQ(os.isOpen(), false); TEST_CHECK_EQ(os.isOpen(), false);
} }
{ {
VerilatedRestore os; VerilatedRestore os;
os.open("/No_such_file_as_this"); os.open("/No/such_file_as_this");
TEST_CHECK_EQ(os.isOpen(), false); TEST_CHECK_EQ(os.isOpen(), false);
} }