]> git.sesse.net Git - ffmpeg/commitdiff
diff -w
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Mar 2004 22:08:57 +0000 (22:08 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 26 Mar 2004 22:08:57 +0000 (22:08 +0000)
Originally committed as revision 2936 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/regression.sh

index 504420b5ee2f6b6b6800b10c2e328f7739d53f1f..d94f437fc5bd3a5a14d7e87933223283c650d85d 100755 (executable)
@@ -12,6 +12,11 @@ else
   diff_cmd="diff"
 fi
 
+diff -w $0 $0 > /dev/null 2>&1
+if [ $? -eq 0 ]; then
+  diff_cmd="$diff_cmd -w"
+fi
+
 set -e
 
 datadir="./data"