fate: fix enc_dec_pcm tests with remote target
authorMans Rullgard <mans@mansr.com>
Sat, 17 Mar 2012 16:22:47 +0000 (16:22 +0000)
committerMans Rullgard <mans@mansr.com>
Sat, 17 Mar 2012 17:28:33 +0000 (17:28 +0000)
Signed-off-by: Mans Rullgard <mans@mansr.com>
tests/fate-run.sh

index dcfbc84..c3e39cd 100755 (executable)
@@ -91,8 +91,8 @@ enc_dec_pcm(){
     shift 2
     encfile="${outdir}/${test}.${out_fmt}"
     cleanfiles=$encfile
     shift 2
     encfile="${outdir}/${test}.${out_fmt}"
     cleanfiles=$encfile
-    avconv -i $ref "$@" -f $out_fmt -y $encfile || return
-    avconv -i $encfile -c:a pcm_${pcm_fmt} -f wav -
+    avconv -i $ref "$@" -f $out_fmt -y ${target_path}/${encfile} || return
+    avconv -i ${target_path}/${encfile} -c:a pcm_${pcm_fmt} -f wav -
 }
 
 regtest(){
 }
 
 regtest(){