]> git.ipfire.org Git - thirdparty/curl.git/commit
test1148: disable if decimal separator is not point
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 24 Jul 2018 21:26:45 +0000 (23:26 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Tue, 21 Aug 2018 17:00:48 +0000 (19:00 +0200)
commit93b34981fa6f82e49ffe90ba8b6f0fefbfba281e
tree6e09ee176e6a045bf9dd214219aec8a92a2cbc51
parent014ed7c22f51463dfbf4566d9d2d7fe959a392ad
test1148: disable if decimal separator is not point

Modifying the locale with environment variables doesn't work for native
Windows applications. Just disable the test in this case if the decimal
separator is something different than a point. Use a precheck with a
small C program to achieve that.

Closes https://github.com/curl/curl/pull/2786
tests/data/test1148
tests/libtest/CMakeLists.txt
tests/libtest/Makefile.inc
tests/libtest/chkdecimalpoint.c [new file with mode: 0644]