From: Peter Verthez Date: Sat, 26 Oct 2002 18:06:04 +0000 (+0000) Subject: Put STDERR of iconv into the logfile. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=0768bd532e63cafe8851fb59fa234bbd374dd648;p=gedcom-parse.git Put STDERR of iconv into the logfile. --- diff --git a/t/anselconv.test b/t/anselconv.test index 0d38d9b..a78cf46 100755 --- a/t/anselconv.test +++ b/t/anselconv.test @@ -26,13 +26,13 @@ fi echo "======================================================">> $logfile echo "Performing test 'anselconv'" >> $logfile echo "Testing conversion from ANSEL to UTF-8" >> $logfile -iconv -f ANSEL -t UTF-8 $srcdir/input/ansel.ged > anselconv_utf8.out +iconv -f ANSEL -t UTF-8 $srcdir/input/ansel.ged > anselconv_utf8.out 2>>$logfile if diff $srcdir/input/anselutf8.ged anselconv_utf8.out >/dev/null 2>> $logfile then echo "Output agrees with reference output" >> $logfile rm anselconv_utf8.out echo "Testing conversion from UTF-8 to ANSEL" >> $logfile - iconv -f UTF-8 -t ANSEL $srcdir/input/anselutf8.ged > anselconv_ansel.out + iconv -f UTF-8 -t ANSEL $srcdir/input/anselutf8.ged > anselconv_ansel.out 2>>$logfile if diff $srcdir/input/ansel.ged anselconv_ansel.out >/dev/null 2>> $logfile then echo "Output agrees with reference output" >> $logfile