summaryrefslogtreecommitdiff
path: root/test/GNU/check-stateful
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-11-13 13:50:53 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-11-13 13:50:53 +0000
commit6385ccec503fa86283f224f17ed2acb5409beb84 (patch)
tree119c2ce6e2c742399eca10018f5dddec89285fb3 /test/GNU/check-stateful
parent5e5d71b2d791e8523a9e86f395ea0fd776b0a6ff (diff)
downloadiconv-6385ccec503fa86283f224f17ed2acb5409beb84.tar.gz
iconv-6385ccec503fa86283f224f17ed2acb5409beb84.tar.bz2
Ensure temporary data files are put in the right place.
Bail on the first error. svn path=/trunk/iconv/; revision=5693
Diffstat (limited to 'test/GNU/check-stateful')
-rwxr-xr-xtest/GNU/check-stateful10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/GNU/check-stateful b/test/GNU/check-stateful
index 027b52c..97c9477 100755
--- a/test/GNU/check-stateful
+++ b/test/GNU/check-stateful
@@ -18,9 +18,9 @@ my $charset = shift @ARGV;
my $charsetf = $charset;
$charsetf =~ s/:/-/g;
-`$top/Iconv -f $charset -t UTF-8 -o tmp-snippet $srcdir/$charsetf-snippet`;
-`cmp $srcdir/$charsetf-snippet.UTF-8 tmp-snippet`;
-`$top/Iconv -f UTF-8 -t $charset -o tmp-snippet $srcdir/$charsetf-snippet.UTF-8`;
-`cmp $srcdir/$charsetf-snippet tmp-snippet`;
-`rm -f tmp-snippet`;
+`$top/Iconv -f $charset -t UTF-8 -o $srcdir/tmp-snippet $srcdir/$charsetf-snippet`;
+`cmp $srcdir/$charsetf-snippet.UTF-8 $srcdir/tmp-snippet`;
+`$top/Iconv -f UTF-8 -t $charset -o $srcdir/tmp-snippet $srcdir/$charsetf-snippet.UTF-8`;
+`cmp $srcdir/$charsetf-snippet $srcdir/tmp-snippet`;
+`rm -f $srcdir/tmp-snippet`;