src/config/rcxml.c: parse xml from buffer

Avoid unit tests writing to/from files by using xmlParseMemory() instead
of xmlReadFile().
This commit is contained in:
Johan Malm 2020-06-09 21:40:46 +01:00
parent 40c0b169ef
commit bc51e0ad2f
10 changed files with 86 additions and 9 deletions

View file

@ -33,4 +33,6 @@ int main(int argc, char **argv)
diag("Simple parse rc.xml");
ok1(rc.client_side_decorations);
return exit_status();
}