summaryrefslogtreecommitdiff
path: root/src/autoplay/child_process_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoplay/child_process_test.cc')
-rw-r--r--src/autoplay/child_process_test.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/autoplay/child_process_test.cc b/src/autoplay/child_process_test.cc
deleted file mode 100644
index d723701..0000000
--- a/src/autoplay/child_process_test.cc
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "child_process.h"
-#include "gtest/gtest.h"
-
-TEST(ChildProcessTest, BasicUsage) {
- util::ChildProcess ps("/usr/bin/bc");
- ps.Start();
- ps.Flush();
- ps.Send("1 + 1\n");
- char buf[128];
- ps.Receive(buf, 128);
- EXPECT_STREQ("2\n", buf);
- ps.Stop();
-}