From 7411a50d03a7e18f35010df6116c4512381d84d7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 28 Jul 2010 12:20:34 +0200 Subject: [PATCH] Added a test case for compression handling --- tests/results.txt | 1 + tests/test-278turning_off_compression.rb | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 tests/test-278turning_off_compression.rb diff --git a/tests/results.txt b/tests/results.txt index 01eebbf81..2a71988bd 100644 --- a/tests/results.txt +++ b/tests/results.txt @@ -124,3 +124,4 @@ T_274h264_in_nalus_in_avi:e4a53e3af787cf51877c1ac1a61f667a:passed:20100629-09072 T_275srt_mixed_eol_styles:99c107c5c61d8ceab4f955ff51e6eb55:passed:20100706-090848:0.414861741 T_276h264_without_nalus_in_avi:568d6322703c9f6763addfbafc31dab2:passed:20100706-224102:0.922168875 T_277display_dimensions_fixing_aspect_ratio_usage:2f5549932b476c234e72b9f7ea3ed19c-f269a5ac10c490998300ab3ed37706b7-39de27669f5926c9ae3b93f0d283622a:passed:20100718-201627:2.586261178 +T_278turning_off_compression:3566783209ac478a943dedbd7f84c99f-3566783209ac478a943dedbd7f84c99f:passed:20100728-121842:0.806040817 diff --git a/tests/test-278turning_off_compression.rb b/tests/test-278turning_off_compression.rb new file mode 100644 index 000000000..7b2fc5ec3 --- /dev/null +++ b/tests/test-278turning_off_compression.rb @@ -0,0 +1,15 @@ +#!/usr/bin/ruby -w + +class T_278turning_off_compression < Test + def description + return "mkvmerge / Matroska with compression, turning off compression" + end + + def run + merge "--compression -1:none data/mkv/compression/16.nocomp.mkv + --compression -1:none data/mkv/compression/17.comp.mkv" + result = hash_tmp + merge "--compression -1:none data/mkv/compression/16.comp.mkv + --compression -1:none data/mkv/compression/17.nocomp.mkv" + result + "-" + hash_tmp + end +end +