summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/test_cmd.c')
-rw-r--r--lib/tests/test_cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tests/test_cmd.c b/lib/tests/test_cmd.c
index a60b64e..c8867df 100644
--- a/lib/tests/test_cmd.c
+++ b/lib/tests/test_cmd.c
@@ -140,7 +140,8 @@ int main(int argc, char **argv) {
140 ok(chld_err.lines == 0, "(array) Check for expected number of stderr lines"); 140 ok(chld_err.lines == 0, "(array) Check for expected number of stderr lines");
141 ok(strcmp(chld_out.line[0], "this is a test via echo") == 0, "(array) Check line 1 for expected stdout output"); 141 ok(strcmp(chld_out.line[0], "this is a test via echo") == 0, "(array) Check line 1 for expected stdout output");
142 ok(strcmp(chld_out.line[1], "line two") == 0, "(array) Check line 2 for expected stdout output"); 142 ok(strcmp(chld_out.line[1], "line two") == 0, "(array) Check line 2 for expected stdout output");
143 ok(strcmp(chld_out.line[2], "it's line 3 and (note space between '3' and 'and') $$ will not get evaluated") == 0, "(array) Check line 3 for expected stdout output"); 143 ok(strcmp(chld_out.line[2], "it's line 3 and (note space between '3' and 'and') $$ will not get evaluated") == 0,
144 "(array) Check line 3 for expected stdout output");
144 ok(result == 0, "(array) Checking exit code"); 145 ok(result == 0, "(array) Checking exit code");
145 146
146 /* ensure everything is empty again */ 147 /* ensure everything is empty again */