#include "config.h"
#include <unistd.h>
#include <string>
#include <cstring>
#include <cassert>
#include "asserts.h"
#include "error.h"
#include "fs.h"
#include "exec.h"
#include "fdstream.h"
Go to the source code of this file.
Functions | |
void | test1 (void) |
void | test2 (void) |
void | test3 (void) |
void | test4 (void) |
void | test5 (void) |
void | test6 (void) |
void | test7 (void) |
void | test8 (void) |
void | test9 (void) |
void | test10 (void) |
void | test11 (void) |
void | test12 (void) |
void | test13 (void) |
int | main (int argc, char const *argv[]) |
int main | ( | int | argc, | |
char const * | argv[] | |||
) |
void test1 | ( | void | ) |
Definition at line 19 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_exited_success(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::child_started(), execute::exit(), execute::fork(), and execute::is_child().
void test10 | ( | void | ) |
Definition at line 450 of file test-exec.cc.
References ofdstream::attach(), execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_fd(), ERROR, execute::exit(), execute::fork(), execute::in_fd(), execute::is_parent(), execute::out_fd(), and execute::wait().
Referenced by main().
void test11 | ( | void | ) |
Definition at line 513 of file test-exec.cc.
References ifdstream::attach(), ofdstream::attach(), execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_fd(), ERROR, execute::exit(), execute::fork(), execute::in_fd(), execute::is_parent(), execute::out_fd(), and execute::wait().
Referenced by main().
void test12 | ( | void | ) |
Definition at line 573 of file test-exec.cc.
References ifdstream::attach(), ofdstream::attach(), execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_fd(), ERROR, execute::exit(), execute::fork(), execute::in_fd(), execute::is_parent(), execute::out_fd(), and execute::wait().
Referenced by main().
void test13 | ( | void | ) |
Definition at line 638 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_eof(), execute::err_fd(), execute::err_read(), execute::err_ready(), ERROR, execute::exit(), execute::fork(), execute::in_eof(), execute::in_fd(), execute::in_ready(), execute::in_write(), execute::is_child(), execute::is_parent(), execute::out_eof(), execute::out_fd(), execute::out_read(), execute::out_ready(), and execute::wait().
Referenced by main().
void test2 | ( | void | ) |
Definition at line 53 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_exited_success(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_fd(), ERROR, execute::exit(), execute::fork(), execute::in_fd(), execute::is_child(), execute::is_parent(), execute::out_fd(), and execute::wait().
void test3 | ( | void | ) |
Definition at line 111 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_exited_success(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_fd(), execute::err_ready(), ERROR, execute::exit(), execute::fork(), execute::in_fd(), execute::in_ready(), execute::is_child(), execute::is_parent(), execute::out_fd(), execute::out_ready(), and execute::wait().
void test4 | ( | void | ) |
Definition at line 213 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_exited_success(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::exit(), execute::fork(), execute::is_parent(), and execute::wait().
void test5 | ( | void | ) |
Definition at line 243 of file test-exec.cc.
References execute::child_exited(), execute::child_exited_success(), execute::child_running(), execute::exit(), execute::fork(), execute::is_child(), and execute::wait().
void test6 | ( | void | ) |
Definition at line 285 of file test-exec.cc.
References execute::child_exited(), execute::child_exited_success(), execute::child_running(), execute::child_signal_no(), execute::exit(), execute::fork(), execute::is_child(), and execute::kill_child().
void test7 | ( | void | ) |
Definition at line 332 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_exited_success(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::exit(), execute::fork(), execute::is_parent(), execute::signal_child(), and execute::wait().
Referenced by main().
void test8 | ( | void | ) |
Definition at line 362 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_fd(), execute::err_ready(), execute::exec(), execute::in_ready(), execute::out_fd(), execute::out_ready(), and execute::wait().
void test9 | ( | void | ) |
Definition at line 404 of file test-exec.cc.
References execute::child_exit_code(), execute::child_exited(), execute::child_exited_normally(), execute::child_running(), execute::child_signal_no(), execute::child_signaled(), execute::err_fd(), execute::err_ready(), execute::exec(), execute::in_ready(), execute::out_fd(), execute::out_ready(), and execute::wait().
Referenced by main().