mkvtoolnix/tests/test-260version_numbers.rb

16 lines
294 B
Ruby
Raw Normal View History

#!/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