mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
(libT) when unable to run locale-specific json tests, give a hint in the terminal about how to remedy that
This commit is contained in:
parent
1a99b9c168
commit
3819360ca0
1 changed files with 3 additions and 1 deletions
|
@ -249,7 +249,9 @@ main (void)
|
|||
if (setlocale (LC_NUMERIC, comma_locales[i]) != NULL)
|
||||
break;
|
||||
if (i==n)
|
||||
fprintf (stderr, "WARNING: unable to run locale-specific json tests.\n");
|
||||
fprintf (stderr, "WARNING: unable to run locale-specific json tests. add a locale like %s or %s\n",
|
||||
comma_locales[0],
|
||||
comma_locales[1]);
|
||||
else if ((rv = runTests (tests, NUM_TESTS(tests))))
|
||||
return rv;
|
||||
|
||||
|
|
Loading…
Reference in a new issue