diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_process.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index 8c70e8412f..9a01b60acd 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -1631,6 +1631,8 @@ EOS assert_equal("ok\n", `#{exename} /c echo ok`, msg) assert_equal("ok\n", IO.popen("#{exename} /c echo ok", &:read), msg) assert_equal("ok\n", IO.popen(%W"#{exename} /c echo ok", &:read), msg) + File.binwrite("#{name}.txt", "ok") + assert_equal("ok", `type #{name}.txt`) end end end if windows? |