12 Commits

Author SHA1 Message Date
Johan Holmberg
017db356db test helper script to print ctrl characters 2016-12-07 21:41:20 +01:00
Johan Holmberg
b18b462328 add --stdout/stderr option to lines.rb
to make it easier to generate test output
on both stdout and stderr
2016-11-18 15:05:49 +01:00
Johan Holmberg
67a662f1c6 use env.rb and grep.rb in test
to avoid depending on some env.exe and grep.exe
on Windows.
2016-11-17 10:30:29 +01:00
Johan Holmberg
9505af3dcc improve line ending detection + add tests
should hopefully work on Linux and Windows now
2016-11-16 22:34:00 +01:00
Johan Holmberg
42342d0c96 handle Unicode filenames on Windows + test
by adding an argument "encoding: 'UTF-8'" to Dir.entries.
Also add minimal test.
2016-11-07 14:53:21 +01:00
Johan Holmberg
6a7bdbdfe4 make tests more Windows-friendly
by using Ruby helper scripts instead fo relying
on the existence of Unix commands
2016-11-05 00:49:22 +01:00
Johan Holmberg
8943e46c44 --lines option to echo_stdout.rb/echo_stdout.rb
for new tests wanting several lines
2016-06-28 09:02:33 +02:00
Johan Holmberg
21411e4a87 Renamed "echo-stdout.rb" and "echo-stderr.rb"
to get automatic addition of "ruby -S" on Windows.
2011-11-04 23:12:48 +01:00
Johan Holmberg
2df6994a6a 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.
2011-09-27 23:16:37 +02:00
Johan Holmberg
a3bd727568 Make handling of Windows / Linux symmetric when it comes
to "clines". Implemented as a Perl script on Linux.
2009-05-12 16:53:18 +00:00
Johan Holmberg
2a7bb70fee Add "clines.cpp" in a better way. 2009-05-12 16:41:02 +00:00
Johan Holmberg
5059444af1 add scripts needed for 'rake test' 2009-03-24 08:47:54 +00:00