about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--test/test_player_integration.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test_player_integration.rb b/test/test_player_integration.rb
index f71ed56..8784221 100644
--- a/test/test_player_integration.rb
+++ b/test/test_player_integration.rb
@@ -124,7 +124,8 @@ class TestPlayerIntegration < Testcase
   def test_sink_env
     s = client_socket
     tmp = Tempfile.new(%w(env .txt))
-    s.req_ok("sink ed default active=true command='echo -$FOO- > #{tmp.path}'")
+    s.req_ok("sink ed default active=true " \
+             "command='echo -$FOO- > #{tmp.path}; cat >/dev/null'")
 
     s.req_ok("sink ed default env.FOO=BAR")
     s.req_ok(["enq-cmd", "echo HI"])