mkvtoolnix/tests/test-260version_numbers.rb
Moritz Bunkus 5e49abc525 tests: fix version number test for v10.0.0
It's the first version number where a component is more than one digit
long.
2017-03-25 15:17:09 +01:00

16 lines
294 B
Ruby
Executable File

#!/usr/bin/ruby -w
class T_260version_numbers < Test
def description
return "version number of CLI tools"
end
def run
%w{merge info extract propedit}.each do |name|
sys "../src/mkv#{name} --version | grep -E 'v([0-9]{1,2}\\.){2}[0-9]+'"
end
return 'ok'
end
end