2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-21 05:02:16 +00:00
Files
process/test/v2/pid.cpp
2022-05-29 02:38:37 +08:00

15 lines
422 B
C++

// Copyright (c) 2022 Klemens D. Morgenstern
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/process/v2/pid.hpp>
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE(test_pid)
{
namespace bp2 = boost::process::v2;
BOOST_CHECK_NE(bp2::current_pid(), static_cast<bp2::pid_type>(0));
}