X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fencoding-guesser.at;h=1c7af5b70993a627525c069bab64d46dcabaad88;hb=f23b29294fe11981eca39360e9479ff25050b556;hp=a2b0aabd9dcf1d4d84322074696568758caee5cb;hpb=085dfff1c41d6ee305f00aa7177286ca8965efbc;p=pspp diff --git a/tests/libpspp/encoding-guesser.at b/tests/libpspp/encoding-guesser.at index a2b0aabd9d..1c7af5b709 100644 --- a/tests/libpspp/encoding-guesser.at +++ b/tests/libpspp/encoding-guesser.at @@ -1,3 +1,19 @@ +dnl PSPP - a program for statistical analysis. +dnl Copyright (C) 2017 Free Software Foundation, Inc. +dnl +dnl This program is free software: you can redistribute it and/or modify +dnl it under the terms of the GNU General Public License as published by +dnl the Free Software Foundation, either version 3 of the License, or +dnl (at your option) any later version. +dnl +dnl This program is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +dnl GNU General Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +dnl AT_BANNER([encoding guesser]) AT_SETUP([ASCII]) @@ -141,3 +157,11 @@ AT_CHECK([printf '\343\201\201\343\201\202\343\201\203\343\201\204\343\201\205\3 [0], [UTF-8 ]) AT_CLEANUP + +AT_SETUP([windows-1252 as Auto,UTF-8]) +AT_KEYWORDS([encoding guesser]) +AT_CHECK([i18n-test supports_encodings windows-1252]) +AT_CHECK([printf 'entr\351e' | encoding-guesser-test Auto,UTF-8 32], [0], + [windows-1252 +]) +AT_CLEANUP