15 Commits

Author SHA1 Message Date
Johan Holmberg
1e6e3ca0a2 handle current directory containing spaces 2013-11-22 01:36:50 +01:00
Johan Holmberg
77ca78c161 test current directory can contain spaces 2013-11-22 01:32:38 +01:00
Johan Holmberg
dec7206f12 adapt tests to removed 'chdir' 2012-06-17 14:19:10 +02:00
Johan Holmberg
daa7f12fbd Improve detection of Windows. 2011-11-04 23:38:52 +01: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
776f1595ac New CMDTEST_*.rb files testing "cmdtest" itself.
These files will replaces the old tests.
2011-10-12 22:19:44 +02: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
d3c5025960 Test passes on Windows now. 2009-05-12 16:31:40 +00:00
Johan Holmberg
c81b4c0c45 modified tests to work on both Windows and Linux. 2009-05-12 16:04:57 +00:00
Johan Holmberg
64804512a2 Make it possible to give an array as argument to "cmd".
The intention is that the array should be passed "as is" to
the invoked program. This should work on both UN*X and Windows
so it has to deal with the quoting of both sh(1) and CMD.EXE.
The Windows part has not been done yet.
2009-04-08 07:08:13 +00:00
Johan Holmberg
0a15996b2a use new REQUIRE instead of SKIP 2009-03-26 21:50:24 +00:00
Johan Holmberg
5059444af1 add scripts needed for 'rake test' 2009-03-24 08:47:54 +00:00
Johan Holmberg
2c61efb00d add tests 2009-03-24 08:43:47 +00:00