Add one version of "echo.rb" for each of stdout/stderr.

This makes is easier to write tests for both stdout_equal and stderr_equal.
This commit is contained in:
Johan Holmberg
2011-09-27 23:16:37 +02:00
parent a0663562f0
commit 2df6994a6a
2 changed files with 6 additions and 0 deletions

3
t/bin/echo-stderr.rb Executable file

@ -0,0 +1,3 @@
#!/usr/bin/ruby
STDERR.puts ARGV.join(" ")

3
t/bin/echo-stdout.rb Executable file

@ -0,0 +1,3 @@
#!/usr/bin/ruby
puts ARGV.join(" ")