mkvtoolnix/tests/test-288identify_files_by_amg.rb
Moritz Bunkus ffb32a657b all: remove deprecated features
The features removed are:

* mkvmerge: the options `--identify-verbose` (and its counterpart
  `-I`), `--identify-for-gui`, `--identify-for-mmg` and
  `--identification-format verbose-text`
* all command line tools: the old, proprietary format used for option
  files
* all command line tools: support for passing command line options via the
  environment variables `MKVTOOLNIX_OPTIONS`, `MKVEXTRACT_OPTIONS`,
  `MKVINFO_OPTIONS`, `MKVMERGE_OPTIONS`, and `MKVPROPEDIT_OPTIONS`
2017-12-22 16:02:58 +01:00

15 lines
303 B
Ruby
Executable File

#!/usr/bin/ruby -w
class T_288identify_files_by_amg < Test
def description
"mkvmerge / identify on files created by AMG"
end
def run
File.open(tmp, 'w') do |file|
file.puts(JSON.load(`../src/mkvmerge -J data/mkv/amg_sample.mkv`)["tracks"].size.to_s)
end
hash_tmp
end
end