mirror of
https://github.com/boostorg/process.git
synced 2026-01-21 17:12:19 +00:00
15 lines
422 B
C++
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));
|
|
} |