File: check-mnote.sh

package info (click to toggle)
libexif 0.6.25-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,664 kB
  • sloc: ansic: 13,214; cpp: 457; makefile: 395; sh: 206
file content (14 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Parses test EXIF files and manipulates maker notes
# This doesn't perform any explicit checks other than the OS's exceptions due
# to NULL pointer exceptions, segmentation faults, divide-by-zero, etc.
#
# Copyright (C) 2024 Dan Fandrich <dan@coneharvesters.com>, et. al.
# SPDX-License-Identifier: LGPL-2.0-or-later
set -e

srcdir="${srcdir:-.}"

for fn in "${srcdir}"/testdata/*.jpg ; do
    ./test-mnote$EXEEXT "${fn}" >/dev/null
done