From 0564ee4a66956df1f3e0294e02296158e984d728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Wed, 17 Apr 2013 00:33:25 +0200 Subject: [PATCH] test, sunos: disable process_title test Disable unit test failing due to missing implementation of uv_(set|get)_process_title for Sun OS (SmartOS). Based on discussion with @tjfontaine, such implementation is difficult if possible at all and it won't be done anytime soon. Thus there is no point in keeping the failing test around. --- test/test-process-title.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-process-title.c b/test/test-process-title.c index 5bf5db9f..c870abd1 100644 --- a/test/test-process-title.c +++ b/test/test-process-title.c @@ -42,8 +42,12 @@ static void set_title(const char* title) { TEST_IMPL(process_title) { +#if defined(__sun) + RETURN_SKIP("uv_(get|set)_process_title is not implemented."); +#else /* Check for format string vulnerabilities. */ set_title("%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s"); set_title("new title"); return 0; +#endif }