summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-12-08 15:48:34 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-12-08 15:48:34 +1100
commit47b8c99ab3221188ad3926108dd9d36da3b528ec (patch)
treec42c2ac76244885e43da3d9fc26718a330dc344b /regress/Makefile
parent4089fc1885b3a2822204effbb02b74e3da58240d (diff)
downloadopenssh-git-47b8c99ab3221188ad3926108dd9d36da3b528ec.tar.gz
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 'regress/Makefile')
-rw-r--r--regress/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 1f71761f..bb880681 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