Restructure all of lib.sh and functions-opendnssec.sh.
- Added more checks to functions and made sure all variable are quited and local.
- Removed global syslog_grep_count_variable from lib.sh/syslog_grep_count().
- Added syslog_grep_count2 and grep_this_count2 that echos the count.
- Used syslog_grep_count2 in Enforcer/Signer start/stop count functions and added new global variable ODS_ENFORCER_START_COUNT / ODS_ENFORCER_STOP_COUNT / ODS_SIGNER_START_COUNT / ODS_SIGNER_STOP_COUNT.
- Added 2 new tool depend; pgrep and gsort/sort.
- Save test output in retries and failed tests
Rewrote ods_enforcer_start_timeshift() based on log_this_timeout, it starts Enforcer is the background and checks for output in syslog and if there has not been any output for the given timeout it kills and fails.
Change two tests that where afffected by previous changes.
Removing some whitespace
Fixed error messages in ods_setup_zone()
Merge pull request #54 from jelu/cleanup-restruct-lib.sh

Cleanup restruct lib.sh