view tests/refupdate.sh @ 34763:6834d78ac904

Clarify the used opening modes by improving the verbose status messages. By now, the (only) message indicates that the device is always opened in blocking mode, regardless of the "block" suboption to the ALSA output driver.
author ib
date Tue, 10 Apr 2012 13:17:49 +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