view tests/refupdate.sh @ 35263:a893e72567ca

Updated libdvdcss to r255 Specifically, the changes are a memory leak fix (r239), assume a default drive type (r249) and support ELF visibility attribute (r255) It has been pointed out in the mailing list that one or two of these changes may be unnecessary/redundant but harmless This fixes #2096
author SubJunk
date Tue, 06 Nov 2012 05:47:13 +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