File: test_pr_1384.py

package info (click to toggle)
exiv2 0.28.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 109,208 kB
  • sloc: cpp: 77,571; python: 9,474; javascript: 237; makefile: 190; sh: 172; ansic: 51; sed: 16
file content (15 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- coding: utf-8 -*-

import system_tests

class test_pr_1384(metaclass=system_tests.CaseMeta):
    url = "https://github.com/Exiv2/exiv2/pull/1384"
    
    filename = "$data_path/pr_1384.exv"
    commands = ["$exiv2 --grep ColorMatrix/i $filename"]
    stderr = [""]
    stdout = ["""Exif.Image.ColorMatrix1                      SRational   9  10236/10000 -4532/10000 397/10000 -3403/10000 10623/10000 3223/10000 -242/10000 968/10000 8530/10000
Exif.Image.ColorMatrix2                      SRational   9  8695/10000 -2558/10000 -648/10000 -5015/10000 12711/10000 2575/10000 -1279/10000 2215/10000 7514/10000
"""
]
    retval = [0]