Code

State-based tests enhancements
authorThomas Guyot-Sionnest <dermoth@aei.ca>
Wed, 1 Dec 2010 03:28:19 +0000 (22:28 -0500)
committerThomas Guyot-Sionnest <dermoth@aei.ca>
Wed, 1 Dec 2010 03:33:34 +0000 (22:33 -0500)
commit811684ffe394d050158c2a98d5be211d5ded3c88
tree1c8b689c2e7b79667ed92e2b914f245349981504
parentdf88f95fcaf65d58a9ea172c2b3e2b96d80dff33
State-based tests enhancements

- Use /var/tmp for state if no state dir environment variable is set,
  this avoid the need for a writable localstatedir during tests.
- Use "rm -f", mostly to avoid printing out garbage of the directory
  doesn't exists
plugins/tests/check_snmp.t