]> granicus.if.org Git - curl/commitdiff
test1148: fix precheck output
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sun, 2 Sep 2018 10:51:00 +0000 (12:51 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Sun, 2 Sep 2018 10:51:00 +0000 (12:51 +0200)
"precheck command error" is not very helpful.

tests/data/test1148

index 47fb5a5d4547f4f6fbf1a587a9463c145ca4bba2..ba498698ae98c63373b88cb8dba547bba4ca7f1c 100644 (file)
@@ -38,7 +38,7 @@ progress-bar
 http://%HOSTIP:%HTTPPORT/1148 -# --stderr log/stderrlog1148
 </command>
 <precheck>
-perl -e '$ENV{"LC_NUMERIC"} = "en_US.UTF-8"; system("./libtest/chkdecimalpoint") and die("Test requires point as decimal separator");'
+perl -e '$ENV{"LC_NUMERIC"} = "en_US.UTF-8"; print "Test requires point as decimal separator" if system("./libtest/chkdecimalpoint");'
 </precheck>
 <setenv>
 LC_ALL=