mirror of
https://github.com/wader/fq.git
synced 2024-11-24 11:16:09 +03:00
377af133e0
Make cwd for a test script the directory where the script is. Use relative paths
21 lines
676 B
Plaintext
21 lines
676 B
Plaintext
$ fq -d matroska 'matroska_path(".Segment.Tracks[0].TrackEntry[0].CodecID")' avc.mkv
|
|
exitcode: 5
|
|
stderr:
|
|
error: avc.mkv: cannot iterate over: null
|
|
$ fq -d matroska 'matroska_path(".Segment.Tracks[0].TrackEntry[0].CodecID") | matroska_path' avc.mkv
|
|
exitcode: 5
|
|
stderr:
|
|
error: avc.mkv: cannot iterate over: null
|
|
$ fq -d matroska 'matroska_path(matroska_path(".Segment.Tracks[0].TrackEntry[0].CodecID"))' avc.mkv
|
|
exitcode: 5
|
|
stderr:
|
|
error: avc.mkv: cannot iterate over: null
|
|
$ fq -n '"a" | raw | matroska_path(".Segment")'
|
|
exitcode: 5
|
|
stderr:
|
|
error: not matroska format
|
|
$ fq -n '1 | matroska_path(".Segment")'
|
|
exitcode: 5
|
|
stderr:
|
|
error: expected decode value but got: number (1)
|