dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
gedcom-parse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af661d4
)
Put STDERR of iconv into the logfile.
author
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 26 Oct 2002 18:06:04 +0000
(18:06 +0000)
committer
Peter Verthez
<Peter.Verthez@advalvas.be>
Sat, 26 Oct 2002 18:06:04 +0000
(18:06 +0000)
t/anselconv.test
patch
|
blob
|
history
diff --git
a/t/anselconv.test
b/t/anselconv.test
index 0d38d9bf8c851f05420dcb49b65713ed651ae5e0..a78cf46e080822170ca36bbc115bfb827dc4d2d0 100755
(executable)
--- 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
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
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
if diff $srcdir/input/ansel.ged anselconv_ansel.out >/dev/null 2>> $logfile
then
echo "Output agrees with reference output" >> $logfile