mkvtoolnix/tests/test-0260version_numbers.rb
2021-07-07 16:10:13 +02:00

16 lines
295 B
Ruby
Executable File

#!/usr/bin/ruby -w
class T_0260version_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