Skip to content

Instantly share code, notes, and snippets.

@igorzi
Created July 30, 2011 06:55
Show Gist options
  • Save igorzi/1115279 to your computer and use it in GitHub Desktop.
Save igorzi/1115279 to your computer and use it in GitHub Desktop.
From 3e6611a693e29a09c0211d905a5836027b68868c Mon Sep 17 00:00:00 2001
From: Igor Zinkovsky <igorzi@microsoft.com>
Date: Fri, 29 Jul 2011 23:54:52 -0700
Subject: [PATCH] more output
---
test/test-spawn.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/test/test-spawn.c b/test/test-spawn.c
index 4cfe6b1..813bf2e 100644
--- a/test/test-spawn.c
+++ b/test/test-spawn.c
@@ -142,6 +142,7 @@ TEST_IMPL(spawn_stdout) {
ASSERT(exit_cb_called == 1);
ASSERT(close_cb_called == 2); /* Once for process once for the pipe. */
+ printf("output is: %s", output);
ASSERT(strcmp("hello world\n", output) == 0 || strcmp("hello world\r\n", output) == 0);
return 0;
--
1.7.4.msysgit.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment