#!/bin/bash
# Reproduce: put the CC0 photo at files/bourtzi.jpg (Wikimedia Commons, Jebulon), then: bash test-run.sh > test-results.txt
set -e; W=$(cd "$(dirname "$0")" && pwd); mkdir -p "$W/out"
echo "run $(date -u +%FT%TZ) node $(node -v) $(ffmpeg -version | head -1 | cut -d" " -f1-3) sha1 $(sha1sum "$W/files/bourtzi.jpg" | cut -c1-40)"
node "$W/tests.cjs" "$W"
