testing: better logging of synccompare invocation

In testExtension, the local environment variables matter when invoking
synccompare. Include them in the debug output.
This commit is contained in:
Patrick Ohly 2013-06-28 02:06:41 -07:00
parent dfd0bc29af
commit 9c6022bd13

View file

@ -6307,8 +6307,10 @@ bool ClientTest::compare(ClientTest &client, const std::string &fileA, const std
}
}
if (!success) {
printf("failed: env CLIENT_TEST_SERVER=%s synccompare %s %s\n",
currentServer().c_str(),
printf("failed: env CLIENT_TEST_SERVER=%s 'CLIENT_TEST_STRIP_PARAMETERS=%s' 'CLIENT_TEST_STRIP_PROPERTIES=%s'synccompare %s %s\n",
getEnv("CLIENT_TEST_SERVER", ""),
getEnv("CLIENT_TEST_STRIP_PARAMETERS", ""),
getEnv("CLIENT_TEST_STRIP_PROPERTIES", ""),
fileA.c_str(), fileB.c_str());
}
return success;