From bc578b6c8eaf2ec3e203acd654d1b0c24fdbd62f Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 9 Sep 2012 21:11:00 +0000 Subject: Ignore UTF-8 BOMs. See Savannah bug #36529. --- tests/ChangeLog | 3 +++ tests/scripts/features/utf8 | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 tests/scripts/features/utf8 (limited to 'tests') diff --git a/tests/ChangeLog b/tests/ChangeLog index f9585e6..aa572d3 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,5 +1,8 @@ 2012-09-09 Paul Smith + * scripts/features/utf8: New test for UTF-8 support. + See Savannah bug #36529. + * scripts/targets/POSIX: Add tests for default macro values as specified by IEEE Std 1003.1-2008. See Savannah bug #37069. diff --git a/tests/scripts/features/utf8 b/tests/scripts/features/utf8 new file mode 100644 index 0000000..54bc471 --- /dev/null +++ b/tests/scripts/features/utf8 @@ -0,0 +1,11 @@ +# -*-perl-*- + +$description = "Test support for UTF-8."; + +$details = ""; + +# Verify that the UTF-8 BOM is ignored. +run_make_test("\xEF\xBB\xBFall: ; \@echo \$\@\n", '', "all"); + +# This tells the test driver that the perl test script executed properly. +1; -- cgit v1.2.3