From 2df6994a6ac05c829703c65600677011c8fa5f42 Mon Sep 17 00:00:00 2001 From: Johan Holmberg Date: Tue, 27 Sep 2011 23:16:37 +0200 Subject: [PATCH] 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. --- t/bin/echo-stderr.rb | 3 +++ t/bin/echo-stdout.rb | 3 +++ 2 files changed, 6 insertions(+) create mode 100755 t/bin/echo-stderr.rb create mode 100755 t/bin/echo-stdout.rb diff --git a/t/bin/echo-stderr.rb b/t/bin/echo-stderr.rb new file mode 100755 index 0000000..fe6b27a --- /dev/null +++ b/t/bin/echo-stderr.rb @@ -0,0 +1,3 @@ +#!/usr/bin/ruby + +STDERR.puts ARGV.join(" ") diff --git a/t/bin/echo-stdout.rb b/t/bin/echo-stdout.rb new file mode 100755 index 0000000..a1545d7 --- /dev/null +++ b/t/bin/echo-stdout.rb @@ -0,0 +1,3 @@ +#!/usr/bin/ruby + +puts ARGV.join(" ")