Closed garlick closed 1 month ago
that was semi intentional along w/ some other debugging
/* output settings of command line options that can't be tested in test mode */
if (header)
fprintf(stderr, "command line option: header = %s\n", header);
if (userpwd)
fprintf(stderr, "command line option: auth = %s\n", userpwd);
if (message_timeout != MESSAGE_TIMEOUT_DEFAULT)
fprintf(stderr, "command line option: message timeout = %ld\n", message_timeout);
fprintf(stderr, "command line option: resolve-hosts = %s\n",
resolve_hosts ? "set" : "not set");
perhaps should only output if it is set.
Or maybe only if a verbose option is set, which could be set in testing?
This debug output is only under test-mode, which is the mode in the redfishpower sharness tests. So for most tests it just outputs that stray "resolve-hosts = not set" line. It's only under the giant el cap test it outputted a ton of them.
Oh OK then. Well, should we turn off test mode in the el cap test or is it required for some purpose?
Oh duh, never mind, your other PR is going to cut down on the noise.
Problem: looks like some debug was left in
redfishpower
when--resolve-hosts
was added.When running
t0039-llnl-el-capitan-cluster.t -v
I got a stream of these