view tests/refupdate.sh @ 35029:7abba31768ec

Add new -subcc values. This makes it possible to specify that we should try to extract a EIA-608 compatibility stream instead of assuming the whole stream is EIA-608.
author reimar
date Mon, 27 Aug 2012 19:57:33 +0000
parents 6dc79618ec0e
children
line wrap: on
line source

#!/bin/sh
# updates all changed/new results in ref/
find res -name '*.bad' | while read bad_res ; do
  ref_file="ref/${bad_res#res/}"
  ref_file="${ref_file%.bad}"
  mkdir -p "$(dirname "$ref_file")"
  cp "$bad_res" "$ref_file"
done