#include <boost/test/auto_unit_test.hpp>
#include "testsuite.hh"
#include <utilmm/system/process.hh>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
void | assert_closed (int fd) |
BOOST_AUTO_TEST_CASE (test_environment) | |
BOOST_AUTO_TEST_CASE (test_run) | |
BOOST_AUTO_TEST_CASE (test_nonblocking) | |
BOOST_AUTO_TEST_CASE (test_redirect) | |
void | check_var (process &proc, std::string const &varname, std::string const &expected) |
string | get_file_contents (int fd) |
void assert_closed | ( | int | fd | ) |
Definition at line 81 of file test_process.cc.
BOOST_AUTO_TEST_CASE | ( | test_environment | ) |
Definition at line 48 of file test_process.cc.
BOOST_AUTO_TEST_CASE | ( | test_run | ) |
Definition at line 57 of file test_process.cc.
BOOST_AUTO_TEST_CASE | ( | test_nonblocking | ) |
Definition at line 72 of file test_process.cc.
BOOST_AUTO_TEST_CASE | ( | test_redirect | ) |
Definition at line 86 of file test_process.cc.
Definition at line 30 of file test_process.cc.
string get_file_contents | ( | int | fd | ) |
Definition at line 15 of file test_process.cc.