Fix `exiv2`: verbose extract stdout mutli-file (#2068)
When using `exiv2 --verbose --extract` with stdout and multiple files, the output is concatenated together.main
parent
fde0f9e246
commit
46c329081f
@ -0,0 +1,16 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
import system_tests
|
||||||
|
from system_tests import CaseMeta, path
|
||||||
|
|
||||||
|
class TestVerboseExtractStdoutMultiFile(metaclass=CaseMeta):
|
||||||
|
|
||||||
|
filename = path("$data_path/exiv2-empty.jpg")
|
||||||
|
commands = ["$exiv2 --verbose --extract X- $filename $filename"]
|
||||||
|
|
||||||
|
stdout = [""""""]
|
||||||
|
|
||||||
|
stderr = ["""exiv2: Only one file is allowed when extracting to stdout
|
||||||
|
"""]
|
||||||
|
retval = [1]
|
||||||
|
|
Loading…
Reference in New Issue