[FFmpeg-soc] [soc]: r4570 - seek_api/seektest/test_dothack2.sh
spyfeng
subversion at mplayerhq.hu
Thu Jul 2 19:16:02 CEST 2009
Author: spyfeng
Date: Thu Jul 2 19:16:01 2009
New Revision: 4570
Log:
check the differences with expeted result when run x test_dothack2.sh.
Modified:
seek_api/seektest/test_dothack2.sh
Modified: seek_api/seektest/test_dothack2.sh
==============================================================================
--- seek_api/seektest/test_dothack2.sh Thu Jul 2 19:00:34 2009 (r4569)
+++ seek_api/seektest/test_dothack2.sh Thu Jul 2 19:16:01 2009 (r4570)
@@ -1,6 +1,15 @@
#!/bin/sh
echo "Test dothack.mpg from http://samples.mplayerhq.hu/MPEG2/"
-./seektest2 dothack2.mpg
+./seek_test2 dothack2.mpg >> res.txt
-echo "Done, please check the returned value according to the outputs."
+#echo "Done, please check the returned value according to the outputs."
+if diff -u -w res.txt dothack2.ref ; then
+ echo
+ echo The output is correct.
+ exit 0
+else
+ echo
+ echo Please check the differences output.
+ exit 1
+fi
More information about the FFmpeg-soc
mailing list