Make tests less verbose

The numeric values of the labels aren't of value when inspecting test
results. For this reason, it makes sense to put them behind the verbose
flag to make test framework debugging happen purpose.
This commit is contained in:
Markus Mäkelä
2019-04-07 16:21:45 +03:00
parent a102efa01f
commit 55bb3e9250
4 changed files with 28 additions and 7 deletions

View File

@ -168,6 +168,11 @@ int Nodes::ssh_node(int node, const char* ssh, bool sudo)
verbose ? "" : " > /dev/null");
}
if (verbose)
{
std::cout << ssh << std::endl;
}
int rc = 1;
FILE* in = popen(cmd, "w");