Add standalone test test-ja_JP.sjis Test for . * test-suite/standalone/test-ja_JP.sjis: New test. * test-suite/standalone/Makefile.am: Add test-ja_JP.sjis. --- test-suite/standalone/Makefile.am | 4 ++++ test-suite/standalone/test-ja_JP.sjis | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/test-suite/standalone/Makefile.am b/test-suite/standalone/Makefile.am index 2aba708da..c5ce4bccb 100644 --- a/test-suite/standalone/Makefile.am +++ b/test-suite/standalone/Makefile.am @@ -183,6 +183,10 @@ TESTS += test-mb-regexp check_SCRIPTS += test-use-srfi TESTS += test-use-srfi +# test-ja_JP.sjis +check_SCRIPTS += test-ja_JP.sjis +TESTS += test-ja_JP.sjis + # test-scm-c-read test_scm_c_read_SOURCES = test-scm-c-read.c test_scm_c_read_CFLAGS = ${test_cflags} diff --git a/test-suite/standalone/test-ja_JP.sjis b/test-suite/standalone/test-ja_JP.sjis new file mode 100755 index 000000000..4b7ba0d88 --- /dev/null +++ b/test-suite/standalone/test-ja_JP.sjis @@ -0,0 +1,8 @@ +#!/bin/sh +# Test whether guile can run initialization code using ja_JP.sjis locale +# (bug #33044). +unset LC_ALL +export LC_CTYPE +LC_CTYPE=ja_JP.sjis +exec guile -q -s "$0" "$@" +!#