Ticket #12 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Fix testmod to support wildcard modules

Reported by: mark Assigned to: mark
Priority: major Milestone: 2.0_release
Component: resmon Version: 2.0
Keywords: Cc:


Testmod doesn't currently support wildcard modules. Fix this.

In addition, if you don't specify * as the check name (or do and it's not supported), print out that this may be the problem rather than just not being implemented.

Change History

06/04/10 16:25:25 changed by mark

(In [410]) Wildcard module support in testmod (refs #12)

06/04/10 18:20:04 changed by mark

(In [411]) Give a hint when someone mistakenly calls a wildcard module wrong (refs #12)

06/04/10 18:20:08 changed by mark

(In [412]) Add the not implemented methods to testmod (refs #12)

06/04/10 18:21:56 changed by mark

(In [413]) Add the not implemented methods to the test suite (refs #12)

06/04/10 18:22:53 changed by mark

  • status changed from new to closed.
  • resolution set to fixed.

06/04/10 20:25:58 changed by mark

(In [415]) Remove the stub Resmon::ExtComm? and Resmon::Module modules (refs #12)

It's too much of a pain to have to change the built in versions of the modules in the testmod script each time the resmon code changes, and it leads to odd behavior with the testmod script that isn't present when run with resmon itself.

The downside is that the testmod script is no longer standalone, and needs to reference the resmon source code if it is moved out of the resmon tree. This isn't as much of an issue as the testmod script by default is in the resources directory of the resmon source and can be run direct from there.