X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=t%2Fanselconv.test;h=a78cf46e080822170ca36bbc115bfb827dc4d2d0;hb=d41803b9c1bcafabf115a188e3b4a489103bbdca;hp=8bfd92cf71d92520b63471f3c27b62eb02b772d7;hpb=85ee9b58ee45dc56b4415b1f53bf6350f65968fa;p=gedcom-parse.git diff --git a/t/anselconv.test b/t/anselconv.test index 8bfd92c..a78cf46 100755 --- a/t/anselconv.test +++ b/t/anselconv.test @@ -26,14 +26,14 @@ 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 - if diff $srcdir/input/ansel.ged anselconv_ansel.out >dev/null 2>> $logfile + 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 rm anselconv_ansel.out