- self = mesh->get_node("foo");
- if(!self) {
- cerr << "Foo doesn't know about itself the second time\n";
- return 1;
- }
- if(strcmp(self->name, "foo")) {
- cerr << "Foo thinks its name is " << self->name << " the second time\n";
- return 1;
- }
+ assert(mesh.open("basicpp_conf", nullptr, "basicpp", DEV_CLASS_BACKBONE));
+
+ // Check that the name is ignored now, and that we still are "foo".
+
+ self = mesh.get_self();
+ assert(self);
+ assert(!strcmp(self->name, "foo"));