diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-15 15:38:29 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2017-02-27 13:57:35 +0100 |
commit | 698ac8f9cabd053f2c19346a77b92f8eae4218fc (patch) | |
tree | 6b10e3c18f2f8cc9783328b4ff2804b3198fa420 /tests/fate-run.sh | |
parent | c483398bb7ef66f61ed2dcb09f3d6160683da0eb (diff) | |
download | ffmpeg-698ac8f9cabd053f2c19346a77b92f8eae4218fc.tar.gz |
fate: Make null comparison method more useful
This allows dropping /dev/null as reference value when no output is generated.
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-x | tests/fate-run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh index 43fcee02ab..21111403a6 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -203,7 +203,7 @@ if [ $err -gt 128 ]; then test "${sig}" = "${sig%[!A-Za-z]*}" || unset sig fi -if test -e "$ref" || test $cmp = "oneline" ; then +if test -e "$ref" || test $cmp = "oneline" || test $cmp = "null" ; then case $cmp in diff) diff -u -b "$ref" "$outfile" >$cmpfile ;; oneoff) oneoff "$ref" "$outfile" >$cmpfile ;; |