1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! Tests for `exec_shell` — split out of exec_shell.rs (issue #11).
use *;
/// Serializes tests that spawn/query background shells. The shell registry is a
/// process-global singleton and `alive_count` reads its live count; running
/// these tests concurrently makes the absolute count (and any `before` delta)
/// race. A single process-wide mutex keeps the registry stable per test.
pub
pub
pub
pub
/// A command that echoes stdin back on stdout (used to observe writes).
pub