* fix --def ut_state_allow feature

This commit is contained in:
Reinhard Pointner 2013-05-18 15:30:25 +00:00
parent 19738c3d53
commit 5794f65bad
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ args.each{ _log.fine("Argument: $it") }
args.findAll{ !it.exists() }.each{ throw new Exception("File not found: $it") }
// check user-defined pre-condition
if (tryQuietly{ ut_state ==~ ut_state_allow }) {
if (tryQuietly{ !(ut_state ==~ ut_state_allow) }) {
throw new Exception("Invalid state: ut_state = $ut_state (expected $ut_state_allow)")
}