diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-12-08 05:48:34 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-12-08 05:48:34 +0100 |
commit | 47b8c99ab3221188ad3926108dd9d36da3b528ec (patch) | |
tree | c42c2ac76244885e43da3d9fc26718a330dc344b /regress/Makefile | |
parent | Use AC_PATH_TOOL for krb5-config. (diff) | |
download | openssh-47b8c99ab3221188ad3926108dd9d36da3b528ec.tar.xz openssh-47b8c99ab3221188ad3926108dd9d36da3b528ec.zip |
Check for utf8 local support before testing it.
Check for utf8 local support and if not found, do not attempt to run the
utf8 tests. Suggested by djm@
Diffstat (limited to '')
-rw-r--r-- | regress/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/Makefile b/regress/Makefile index 1f71761fa..bb8806818 100644 --- a/regress/Makefile +++ b/regress/Makefile @@ -225,5 +225,7 @@ unit: $$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \ -d ${.CURDIR}/unittests/hostkeys/testdata ; \ $$V ${.OBJDIR}/unittests/match/test_match ; \ - $$V ${.OBJDIR}/unittests/utf8/test_utf8 ; \ + if test "x${TEST_SSH_UTF8}" = "xyes" ; then \ + $$V ${.OBJDIR}/unittests/utf8/test_utf8 ; \ + fi \ fi |