[prev in list] [next in list] [prev in thread] [next in thread]
List: ltp-cvs
Subject: [Ltp-cvs] ltp/testcases/commands/gzip gzip_tests.sh,1.5,1.6
From: Subrata <subrata_modak () users ! sourceforge ! net>
Date: 2008-12-30 14:36:35
Message-ID: E1LHfhz-0000Gi-Fx () ddv4jf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Update of /cvsroot/ltp/ltp/testcases/commands/gzip
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv1002/ltp/testcases/commands/gzip
Modified Files:
gzip_tests.sh
Log Message:
Use more descriptive diff format for reporting errors in ln_tests: the error output \
in some tests is not as useful as it could be. This patch amend that. Do not compare \
actual and expected output with the "quiet" switch, to get some info more useful than \
"The files xxx and yyy differ" in case of failure. Use the correct error output file \
in unzip_tests. Signed-Off-By: Jiri Palecek <jpalecek@web.de>.
Index: gzip_tests.sh
===================================================================
RCS file: /cvsroot/ltp/ltp/testcases/commands/gzip/gzip_tests.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** gzip_tests.sh 21 Oct 2008 06:54:15 -0000 1.5
--- gzip_tests.sh 30 Dec 2008 14:36:33 -0000 1.6
***************
*** 215,219 ****
tst_resm TINFO "Test #1: comparing expected out and actual output file"
! diff -w -B -q $LTPTMP/tst_gzip.out $LTPTMP/tst_gzip.exp \
> $LTPTMP/tst_gzip.err 2>&1 || RC=$?
if [ $RC -ne 0 ]
--- 215,219 ----
tst_resm TINFO "Test #1: comparing expected out and actual output file"
! diff -w -B $LTPTMP/tst_gzip.out $LTPTMP/tst_gzip.exp \
> $LTPTMP/tst_gzip.err 2>&1 || RC=$?
if [ $RC -ne 0 ]
***************
*** 285,289 ****
tst_resm TINFO "Test #2: comparing expected out and actual output file"
! diff -w -B -q $LTPTMP/tst_gzip.out $LTPTMP/tst_gzip.exp \
> $LTPTMP/tst_gzip.err 2>&1 || RC=$?
if [ $RC -ne 0 ]
--- 285,289 ----
tst_resm TINFO "Test #2: comparing expected out and actual output file"
! diff -w -B $LTPTMP/tst_gzip.out $LTPTMP/tst_gzip.exp \
> $LTPTMP/tst_gzip.err 2>&1 || RC=$?
if [ $RC -ne 0 ]
------------------------------------------------------------------------------
_______________________________________________
Ltp-cvs mailing list
Ltp-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic