This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-core-tests/http/SignalHandlerTest.cpp

17 lines
356 B
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/external/gtest.h>
#if ENABLE_CURL_CLIENT
#include <signal.h>
#endif
TEST(SignalHandlerTest, RaisingSIGPIPEShouldNotTerminateProcess)
{
#if ENABLE_CURL_CLIENT && !defined (_WIN32)
ASSERT_EQ(0, raise(SIGPIPE));
#endif
}