|
stc
|
#include <format>#include <filesystem>#include <stc/StringUtil.hpp>#include <util/FreeEnv.hpp>#include "_meta/Constants.hpp"#include <stc/unix/Process.hpp>#include <catch2/catch_test_macros.hpp>#include <stc/test/CaptureStream.hpp>Functions | |
| TEST_CASE ("Process should work with pipes", "[Process]") | |
| TEST_CASE ("Process should work without pipes", "[Process]") | |
| TEST_CASE ("Process should work with PTY mode", "[Process]") | |
| TEST_CASE ("Process should handle signals appropriately", "[Process]") | |
| TEST_CASE ("exitedNormally should not be set by a self-exiting process", "[Process]") | |
| TEST_CASE ("Baseline: Environment should default to environ", "[Process]") | |
| TEST_CASE ("stc::Unix::Environment should be able to ignore environ", "[Process]") | |
| TEST_CASE ("stc::Unix::Environment should merge properly with environ", "[Process]") | |
| TEST_CASE ("stc::Unix::Environment defining existing variables shouldn't cause problems", "[Process]") | |
| TEST_CASE ("Clearing buffers should work", "[Process]") | |
| TEST_CASE ("Not stopping a process shouldn't cause a segfault", "[Process]") | |
| TEST_CASE ("Chdir changing should work as expected", "[Process]") | |
| TEST_CASE ("When enabled, Process should output its command") | |
| TEST_CASE | ( | "Baseline: Environment should default to environ" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "Chdir changing should work as expected" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "Clearing buffers should work" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "exitedNormally should not be set by a self-exiting process" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "Not stopping a process shouldn't cause a segfault" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "Process should handle signals appropriately" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "Process should work with pipes" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "Process should work with PTY mode" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "Process should work without pipes" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "stc::Unix::Environment defining existing variables shouldn't cause problems" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "stc::Unix::Environment should be able to ignore environ" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "stc::Unix::Environment should merge properly with environ" | , |
| "" | [Process] | ||
| ) |
| TEST_CASE | ( | "When | enabled, |
| Process should output its command" | |||
| ) |