Commit 4707a2db authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[3186] Added test_users_err.txt test file for user_check lib

Added unit test data file, overlooked with prior commit. Also
added missiong include to user_file.cc and took extraneous debug
cout.
parent a1b91fbe
{ "type" : "DUID", "id" : "777777777777", "opt1" : "true" }
{ "type" : "BOGUS", "id" : "01AC00F03344", "opt1" : "true" }
......@@ -18,6 +18,7 @@
#include <boost/foreach.hpp>
#include <errno.h>
#include <iostream>
UserFile::UserFile(const std::string& fname) : fname_(fname), ifs_() {
if (fname_.empty()) {
......@@ -109,9 +110,6 @@ UserFile::makeUser(const std::string& user_string) {
} else {
// JSON parsing reduces any duplicates to the last value parsed,
// so we will never see duplicates here.
std::cout << "adding propetry: " << label << ":[" << value << "]"
<< std::endl;
properties[label]=value;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment