ariejan/battlestation — Issue #7: Regex/Output check
Author: ariejan
Created: 2012-03-08 15:45:39+00:00
State: open

Check the output of the specified command with a regex.

Example:

task do
verify_output 'git --version', /git version 1\.7/i, resolution: "You need git 1.7.x for this project to function correctly. See http://gitscm.org for details"
end