elliottcable-echoe 3.1.2 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/CHANGELOG +3 -1
  2. data/Manifest +1 -93
  3. data/Rakefile +1 -2
  4. data/echoe.gemspec +7 -7
  5. data/lib/echoe.rb +50 -22
  6. data/lib/echoe/net.rb +7 -0
  7. data/lib/echoe/platform.rb +27 -25
  8. data/vendor/rake/lib/rake/contrib/sshpublisher.rb +0 -4
  9. metadata +7 -96
  10. data/vendor/rake/CHANGES +0 -400
  11. data/vendor/rake/README +0 -285
  12. data/vendor/rake/Rakefile +0 -418
  13. data/vendor/rake/TODO +0 -20
  14. data/vendor/rake/bin/rake +0 -31
  15. data/vendor/rake/doc/example/Rakefile1 +0 -38
  16. data/vendor/rake/doc/example/Rakefile2 +0 -35
  17. data/vendor/rake/doc/example/a.c +0 -6
  18. data/vendor/rake/doc/example/b.c +0 -6
  19. data/vendor/rake/doc/example/main.c +0 -11
  20. data/vendor/rake/doc/glossary.rdoc +0 -51
  21. data/vendor/rake/doc/jamis.rb +0 -591
  22. data/vendor/rake/doc/proto_rake.rdoc +0 -127
  23. data/vendor/rake/doc/rake.1.gz +0 -0
  24. data/vendor/rake/doc/rakefile.rdoc +0 -534
  25. data/vendor/rake/doc/rational.rdoc +0 -151
  26. data/vendor/rake/doc/release_notes/rake-0.4.14.rdoc +0 -23
  27. data/vendor/rake/doc/release_notes/rake-0.4.15.rdoc +0 -35
  28. data/vendor/rake/doc/release_notes/rake-0.5.0.rdoc +0 -53
  29. data/vendor/rake/doc/release_notes/rake-0.5.3.rdoc +0 -78
  30. data/vendor/rake/doc/release_notes/rake-0.5.4.rdoc +0 -46
  31. data/vendor/rake/doc/release_notes/rake-0.6.0.rdoc +0 -141
  32. data/vendor/rake/doc/release_notes/rake-0.7.0.rdoc +0 -119
  33. data/vendor/rake/doc/release_notes/rake-0.7.1.rdoc +0 -59
  34. data/vendor/rake/doc/release_notes/rake-0.7.2.rdoc +0 -121
  35. data/vendor/rake/doc/release_notes/rake-0.7.3.rdoc +0 -47
  36. data/vendor/rake/doc/release_notes/rake-0.8.0.rdoc +0 -114
  37. data/vendor/rake/doc/release_notes/rake-0.8.2.rdoc +0 -165
  38. data/vendor/rake/doc/release_notes/rake-0.8.3.rdoc +0 -112
  39. data/vendor/rake/install.rb +0 -88
  40. data/vendor/rake/lib/rake.rb +0 -2468
  41. data/vendor/rake/lib/rake/classic_namespace.rb +0 -8
  42. data/vendor/rake/lib/rake/clean.rb +0 -33
  43. data/vendor/rake/lib/rake/gempackagetask.rb +0 -103
  44. data/vendor/rake/lib/rake/loaders/makefile.rb +0 -35
  45. data/vendor/rake/lib/rake/packagetask.rb +0 -185
  46. data/vendor/rake/lib/rake/rake_test_loader.rb +0 -5
  47. data/vendor/rake/lib/rake/rdoctask.rb +0 -147
  48. data/vendor/rake/lib/rake/ruby182_test_unit_fix.rb +0 -23
  49. data/vendor/rake/lib/rake/runtest.rb +0 -23
  50. data/vendor/rake/lib/rake/tasklib.rb +0 -23
  51. data/vendor/rake/lib/rake/testtask.rb +0 -161
  52. data/vendor/rake/lib/rake/win32.rb +0 -54
  53. data/vendor/rake/test/capture_stdout.rb +0 -26
  54. data/vendor/rake/test/check_expansion.rb +0 -5
  55. data/vendor/rake/test/contrib/test_sys.rb +0 -47
  56. data/vendor/rake/test/data/chains/Rakefile +0 -15
  57. data/vendor/rake/test/data/default/Rakefile +0 -19
  58. data/vendor/rake/test/data/dryrun/Rakefile +0 -22
  59. data/vendor/rake/test/data/file_creation_task/Rakefile +0 -33
  60. data/vendor/rake/test/data/imports/Rakefile +0 -19
  61. data/vendor/rake/test/data/imports/deps.mf +0 -1
  62. data/vendor/rake/test/data/multidesc/Rakefile +0 -17
  63. data/vendor/rake/test/data/namespace/Rakefile +0 -57
  64. data/vendor/rake/test/data/rakelib/test1.rb +0 -3
  65. data/vendor/rake/test/data/rbext/rakefile.rb +0 -3
  66. data/vendor/rake/test/data/sample.mf +0 -12
  67. data/vendor/rake/test/data/statusreturn/Rakefile +0 -8
  68. data/vendor/rake/test/data/unittest/Rakefile +0 -1
  69. data/vendor/rake/test/filecreation.rb +0 -32
  70. data/vendor/rake/test/functional.rb +0 -15
  71. data/vendor/rake/test/in_environment.rb +0 -30
  72. data/vendor/rake/test/rake_test_setup.rb +0 -10
  73. data/vendor/rake/test/reqfile.rb +0 -3
  74. data/vendor/rake/test/reqfile2.rb +0 -3
  75. data/vendor/rake/test/session_functional.rb +0 -337
  76. data/vendor/rake/test/shellcommand.rb +0 -3
  77. data/vendor/rake/test/test_application.rb +0 -694
  78. data/vendor/rake/test/test_clean.rb +0 -14
  79. data/vendor/rake/test/test_definitions.rb +0 -82
  80. data/vendor/rake/test/test_earlytime.rb +0 -35
  81. data/vendor/rake/test/test_extension.rb +0 -63
  82. data/vendor/rake/test/test_file_creation_task.rb +0 -62
  83. data/vendor/rake/test/test_file_task.rb +0 -139
  84. data/vendor/rake/test/test_filelist.rb +0 -618
  85. data/vendor/rake/test/test_fileutils.rb +0 -250
  86. data/vendor/rake/test/test_ftp.rb +0 -59
  87. data/vendor/rake/test/test_invocation_chain.rb +0 -75
  88. data/vendor/rake/test/test_makefile_loader.rb +0 -25
  89. data/vendor/rake/test/test_multitask.rb +0 -45
  90. data/vendor/rake/test/test_namespace.rb +0 -36
  91. data/vendor/rake/test/test_package_task.rb +0 -116
  92. data/vendor/rake/test/test_pathmap.rb +0 -209
  93. data/vendor/rake/test/test_rake.rb +0 -41
  94. data/vendor/rake/test/test_require.rb +0 -33
  95. data/vendor/rake/test/test_rules.rb +0 -347
  96. data/vendor/rake/test/test_task_arguments.rb +0 -89
  97. data/vendor/rake/test/test_task_manager.rb +0 -170
  98. data/vendor/rake/test/test_tasklib.rb +0 -12
  99. data/vendor/rake/test/test_tasks.rb +0 -371
  100. data/vendor/rake/test/test_test_task.rb +0 -75
  101. data/vendor/rake/test/test_top_level_functions.rb +0 -84
  102. data/vendor/rake/test/test_win32.rb +0 -57
@@ -1,19 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require 'rake/loaders/makefile'
4
-
5
- task :default
6
-
7
- task :other do
8
- puts "OTHER"
9
- end
10
-
11
- file "dynamic_deps" do |t|
12
- open(t.name, "w") do |f| f.puts "puts 'DYNAMIC'" end
13
- end
14
-
15
- import "dynamic_deps"
16
- import "static_deps"
17
- import "static_deps"
18
- import "deps.mf"
19
- puts "FIRST"
@@ -1 +0,0 @@
1
- default: other
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- task :b
4
-
5
- desc "A"
6
- task :a
7
-
8
- desc "B"
9
- task :b
10
-
11
- desc "A2"
12
- task :a
13
-
14
- task :c
15
-
16
- desc "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
17
- task :d
@@ -1,57 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- desc "copy"
4
- task :copy do
5
- puts "COPY"
6
- end
7
-
8
- namespace "nest" do
9
- desc "nest copy"
10
- task :copy do
11
- puts "NEST COPY"
12
- end
13
- task :xx => :copy
14
- end
15
-
16
- anon_ns = namespace do
17
- desc "anonymous copy task"
18
- task :copy do
19
- puts "ANON COPY"
20
- end
21
- end
22
-
23
- desc "Top level task to run the anonymous version of copy"
24
- task :anon => anon_ns[:copy]
25
-
26
- namespace "very" do
27
- namespace "nested" do
28
- task "run" => "rake:copy"
29
- end
30
- end
31
-
32
- namespace "a" do
33
- desc "Run task in the 'a' namespace"
34
- task "run" do
35
- puts "IN A"
36
- end
37
- end
38
-
39
- namespace "b" do
40
- desc "Run task in the 'b' namespace"
41
- task "run" => "a:run" do
42
- puts "IN B"
43
- end
44
- end
45
-
46
- namespace "file1" do
47
- file "xyz.rb" do
48
- puts "XYZ1"
49
- end
50
- end
51
-
52
- namespace "file2" do
53
- file "xyz.rb" do
54
- puts "XYZ2"
55
- end
56
- end
57
-
@@ -1,3 +0,0 @@
1
- task :default do
2
- puts "TEST1"
3
- end
@@ -1,3 +0,0 @@
1
- task :default do
2
- puts "OK"
3
- end
@@ -1,12 +0,0 @@
1
- # Comments
2
- a: a1 a2 a3 a4
3
- b: b1 b2 b3 \
4
- b4 b5 b6\
5
- # Mid: Comment
6
- b7
7
-
8
- a : a5 a6 a7
9
- c: c1
10
- d: d1 d2 \
11
-
12
- e f : e1 f1
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- task :exit5 do
4
- exit(5)
5
- end
6
-
7
- task :normal do
8
- end
@@ -1 +0,0 @@
1
- # Empty Rakefile for Unit Test
@@ -1,32 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- module FileCreation
4
- OLDFILE = "testdata/old"
5
- NEWFILE = "testdata/new"
6
-
7
- def create_timed_files(oldfile, *newfiles)
8
- return if File.exist?(oldfile) && newfiles.all? { |newfile| File.exist?(newfile) }
9
- old_time = create_file(oldfile)
10
- newfiles.each do |newfile|
11
- while create_file(newfile) <= old_time
12
- sleep(0.1)
13
- File.delete(newfile) rescue nil
14
- end
15
- end
16
- end
17
-
18
- def create_dir(dirname)
19
- FileUtils.mkdir_p(dirname) unless File.exist?(dirname)
20
- File.stat(dirname).mtime
21
- end
22
-
23
- def create_file(name)
24
- create_dir(File.dirname(name))
25
- FileUtils.touch(name) unless File.exist?(name)
26
- File.stat(name).mtime
27
- end
28
-
29
- def delete_file(name)
30
- File.delete(name) rescue nil
31
- end
32
- end
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- begin
4
- require 'rubygems'
5
- gem 'session'
6
- require 'session'
7
- rescue LoadError
8
- puts "UNABLE TO RUN FUNCTIONAL TESTS"
9
- puts "No Session Found (gem install session)"
10
- end
11
-
12
- if defined?(Session)
13
- puts "RUNNING WITH SESSIONS"
14
- require 'test/session_functional'
15
- end
@@ -1,30 +0,0 @@
1
- module InEnvironment
2
- private
3
-
4
- # Create an environment for a test. At the completion of the yielded
5
- # block, the environment is restored to its original conditions.
6
- def in_environment(settings)
7
- original_settings = set_env(settings)
8
- yield
9
- ensure
10
- set_env(original_settings)
11
- end
12
-
13
- # Set the environment according to the settings hash.
14
- def set_env(settings) # :nodoc:
15
- result = {}
16
- settings.each do |k, v|
17
- result[k] = ENV[k]
18
- if k == 'PWD'
19
- result[k] = Dir.pwd
20
- Dir.chdir(v)
21
- elsif v.nil?
22
- ENV.delete(k)
23
- else
24
- ENV[k] = v
25
- end
26
- end
27
- result
28
- end
29
-
30
- end
@@ -1,10 +0,0 @@
1
- # Common setup for all test files.
2
-
3
- begin
4
- require 'rubygems'
5
- gem 'flexmock'
6
- rescue LoadError
7
- # got no gems
8
- end
9
-
10
- require 'flexmock/test_unit'
@@ -1,3 +0,0 @@
1
- # For --require testing
2
-
3
- TESTING_REQUIRE << 1
@@ -1,3 +0,0 @@
1
- # For --require testing
2
-
3
- TESTING_REQUIRE << 2
@@ -1,337 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- begin
4
- require 'rubygems'
5
- rescue LoadError => ex
6
- end
7
- require 'test/unit'
8
- require 'fileutils'
9
- require 'session'
10
- require 'test/in_environment'
11
-
12
- # Version 2.1.9 of session has a bug where the @debug instance
13
- # variable is not initialized, causing warning messages. This snippet
14
- # of code fixes that problem.
15
- module Session
16
- class AbstractSession
17
- alias old_initialize initialize
18
- def initialize(*args)
19
- @debug = nil
20
- old_initialize(*args)
21
- end
22
- end
23
- end
24
-
25
- class FunctionalTest < Test::Unit::TestCase
26
- include InEnvironment
27
-
28
- RUBY_COMMAND = 'ruby'
29
-
30
- def setup
31
- @rake_path = File.expand_path("bin/rake")
32
- lib_path = File.expand_path("lib")
33
- @ruby_options = "-I#{lib_path} -I."
34
- @verbose = ! ENV['VERBOSE'].nil?
35
- if @verbose
36
- puts
37
- puts
38
- puts "--------------------------------------------------------------------"
39
- puts name
40
- puts "--------------------------------------------------------------------"
41
- end
42
- end
43
-
44
- def test_rake_default
45
- Dir.chdir("test/data/default") do rake end
46
- assert_match(/^DEFAULT$/, @out)
47
- assert_status
48
- end
49
-
50
- def test_rake_error_on_bad_task
51
- Dir.chdir("test/data/default") do rake "xyz" end
52
- assert_match(/rake aborted/, @err)
53
- assert_status(1)
54
- end
55
-
56
- def test_env_availabe_at_top_scope
57
- Dir.chdir("test/data/default") do rake "TESTTOPSCOPE=1" end
58
- assert_match(/^TOPSCOPE$/, @out)
59
- assert_status
60
- end
61
-
62
- def test_env_availabe_at_task_scope
63
- Dir.chdir("test/data/default") do rake "TESTTASKSCOPE=1 task_scope" end
64
- assert_match(/^TASKSCOPE$/, @out)
65
- assert_status
66
- end
67
-
68
- def test_multi_desc
69
- in_environment(
70
- 'RAKE_COLUMNS' => "80",
71
- "PWD" => "test/data/multidesc"
72
- ) do
73
- rake "-T"
74
- end
75
- assert_match %r{^rake a *# A / A2 *$}, @out
76
- assert_match %r{^rake b *# B *$}, @out
77
- assert_no_match %r{^rake c}, @out
78
- assert_match %r{^rake d *# x{65}\.\.\.$}, @out
79
- end
80
-
81
- def test_long_description
82
- in_environment("PWD" => "test/data/multidesc") do
83
- rake "--describe"
84
- end
85
- assert_match %r{^rake a\n *A / A2 *$}m, @out
86
- assert_match %r{^rake b\n *B *$}m, @out
87
- assert_match %r{^rake d\n *x{80}}m, @out
88
- assert_no_match %r{^rake c\n}m, @out
89
- end
90
-
91
- def test_rbext
92
- in_environment("PWD" => "test/data/rbext") do
93
- rake "-N"
94
- end
95
- assert_match %r{^OK$}, @out
96
- end
97
-
98
- def test_system
99
- in_environment('RAKE_SYSTEM' => 'test/data/sys') do
100
- rake '-g', "sys1"
101
- end
102
- assert_match %r{^SYS1}, @out
103
- end
104
-
105
- def test_system_excludes_rakelib_files_too
106
- in_environment('RAKE_SYSTEM' => 'test/data/sys') do
107
- rake '-g', "sys1", '-T', 'extra'
108
- end
109
- assert_no_match %r{extra:extra}, @out
110
- end
111
-
112
- def test_by_default_rakelib_files_are_include
113
- in_environment('RAKE_SYSTEM' => 'test/data/sys') do
114
- rake '-T', 'extra'
115
- end
116
- assert_match %r{extra:extra}, @out
117
- end
118
-
119
- def test_implicit_system
120
- in_environment('RAKE_SYSTEM' => File.expand_path('test/data/sys'), "PWD" => "/") do
121
- rake "sys1", "--trace"
122
- end
123
- assert_match %r{^SYS1}, @out
124
- end
125
-
126
- def test_no_system
127
- in_environment('RAKE_SYSTEM' => 'test/data/sys') do
128
- rake '-G', "sys1"
129
- end
130
- assert_match %r{^Don't know how to build task}, @err # emacs wart: '
131
- end
132
-
133
- def test_nosearch_with_rakefile_uses_local_rakefile
134
- in_environment("PWD" => "test/data/default") do
135
- rake "--nosearch"
136
- end
137
- assert_match %r{^DEFAULT}, @out
138
- end
139
-
140
- def test_nosearch_without_rakefile_finds_system
141
- in_environment(
142
- "PWD" => "test/data/nosearch",
143
- "RAKE_SYSTEM" => File.expand_path("test/data/sys")
144
- ) do
145
- rake "--nosearch", "sys1"
146
- end
147
- assert_match %r{^SYS1}, @out
148
- end
149
-
150
- def test_nosearch_without_rakefile_and_no_system_fails
151
- in_environment("PWD" => "test/data/nosearch", "RAKE_SYSTEM" => "not_exist") do
152
- rake "--nosearch"
153
- end
154
- assert_match %r{^No Rakefile found}, @err
155
- end
156
-
157
- def test_dry_run
158
- in_environment("PWD" => "test/data/default") do rake "-n", "other" end
159
- assert_match %r{Execute \(dry run\) default}, @out
160
- assert_match %r{Execute \(dry run\) other}, @out
161
- assert_no_match %r{DEFAULT}, @out
162
- assert_no_match %r{OTHER}, @out
163
- end
164
-
165
- # Test for the trace/dry_run bug found by Brian Chandler
166
- def test_dry_run_bug
167
- in_environment("PWD" => "test/data/dryrun") do
168
- rake
169
- end
170
- FileUtils.rm_f "test/data/dryrun/temp_one"
171
- in_environment("PWD" => "test/data/dryrun") do
172
- rake "--dry-run"
173
- end
174
- assert_no_match(/No such file/, @out)
175
- assert_status
176
- end
177
-
178
- # Test for the trace/dry_run bug found by Brian Chandler
179
- def test_trace_bug
180
- in_environment("PWD" => "test/data/dryrun") do
181
- rake
182
- end
183
- FileUtils.rm_f "test/data/dryrun/temp_one"
184
- in_environment("PWD" => "test/data/dryrun") do
185
- rake "--trace"
186
- end
187
- assert_no_match(/No such file/, @out)
188
- assert_status
189
- end
190
-
191
- def test_imports
192
- open("test/data/imports/static_deps", "w") do |f|
193
- f.puts 'puts "STATIC"'
194
- end
195
- FileUtils.rm_f "test/data/imports/dynamic_deps"
196
- in_environment("PWD" => "test/data/imports") do
197
- rake
198
- end
199
- assert File.exist?("test/data/imports/dynamic_deps"),
200
- "'dynamic_deps' file should exist"
201
- assert_match(/^FIRST$\s+^DYNAMIC$\s+^STATIC$\s+^OTHER$/, @out)
202
- assert_status
203
- FileUtils.rm_f "test/data/imports/dynamic_deps"
204
- FileUtils.rm_f "test/data/imports/static_deps"
205
- end
206
-
207
- def test_rules_chaining_to_file_task
208
- remove_chaining_files
209
- in_environment("PWD" => "test/data/chains") do
210
- rake
211
- end
212
- assert File.exist?("test/data/chains/play.app"),
213
- "'play.app' file should exist"
214
- assert_status
215
- remove_chaining_files
216
- end
217
-
218
- def test_file_creation_task
219
- in_environment("PWD" => "test/data/file_creation_task") do
220
- rake "prep"
221
- rake "run"
222
- rake "run"
223
- end
224
- assert(@err !~ /^cp src/, "Should not recopy data")
225
- end
226
-
227
- def test_dash_f_with_no_arg_foils_rakefile_lookup
228
- rake "-I test/data/rakelib -rtest1 -f"
229
- assert_match(/^TEST1$/, @out)
230
- end
231
-
232
- def test_dot_rake_files_can_be_loaded_with_dash_r
233
- rake "-I test/data/rakelib -rtest2 -f"
234
- assert_match(/^TEST2$/, @out)
235
- end
236
-
237
- def test_can_invoke_task_in_toplevel_namespace
238
- in_environment("PWD" => "test/data/namespace") do
239
- rake "copy"
240
- end
241
- assert_match(/^COPY$/, @out)
242
- end
243
-
244
- def test_can_invoke_task_in_nested_namespace
245
- in_environment("PWD" => "test/data/namespace") do
246
- rake "nest:copy"
247
- assert_match(/^NEST COPY$/, @out)
248
- end
249
- end
250
-
251
- def test_tasks_can_reference_task_in_same_namespace
252
- in_environment("PWD" => "test/data/namespace") do
253
- rake "nest:xx"
254
- assert_match(/^NEST COPY$/m, @out)
255
- end
256
- end
257
-
258
- def test_tasks_can_reference_task_in_other_namespaces
259
- in_environment("PWD" => "test/data/namespace") do
260
- rake "b:run"
261
- assert_match(/^IN A\nIN B$/m, @out)
262
- end
263
- end
264
-
265
- def test_anonymous_tasks_can_be_invoked_indirectly
266
- in_environment("PWD" => "test/data/namespace") do
267
- rake "anon"
268
- assert_match(/^ANON COPY$/m, @out)
269
- end
270
- end
271
-
272
- def test_rake_namespace_refers_to_toplevel
273
- in_environment("PWD" => "test/data/namespace") do
274
- rake "very:nested:run"
275
- assert_match(/^COPY$/m, @out)
276
- end
277
- end
278
-
279
- def test_file_task_are_not_scoped_by_namespaces
280
- in_environment("PWD" => "test/data/namespace") do
281
- rake "xyz.rb"
282
- assert_match(/^XYZ1\nXYZ2$/m, @out)
283
- end
284
- end
285
-
286
- def test_rake_returns_status_error_values
287
- in_environment("PWD" => "test/data/statusreturn") do
288
- rake "exit5"
289
- assert_status(5)
290
- end
291
- end
292
-
293
- def test_rake_returns_no_status_error_on_normal_exit
294
- in_environment("PWD" => "test/data/statusreturn") do
295
- rake "normal"
296
- assert_status(0)
297
- end
298
- end
299
-
300
- private
301
-
302
- def remove_chaining_files
303
- %w(play.scpt play.app base).each do |fn|
304
- FileUtils.rm_f File.join("test/data/chains", fn)
305
- end
306
- end
307
-
308
- class << self
309
- def format_command
310
- @format_command ||= lambda { |ruby_options, rake_path, options|
311
- "ruby #{ruby_options} #{rake_path} #{options}"
312
- }
313
- end
314
-
315
- def format_command=(fmt_command)
316
- @format_command = fmt_command
317
- end
318
- end
319
-
320
- def rake(*option_list)
321
- options = option_list.join(' ')
322
- shell = Session::Shell.new
323
- command = self.class.format_command[@ruby_options, @rake_path, options]
324
- puts "COMMAND: [#{command}]" if @verbose
325
- @out, @err = shell.execute command
326
- @status = shell.exit_status
327
- puts "STATUS: [#{@status}]" if @verbose
328
- puts "OUTPUT: [#{@out}]" if @verbose
329
- puts "ERROR: [#{@err}]" if @verbose
330
- puts "PWD: [#{Dir.pwd}]" if @verbose
331
- shell.close
332
- end
333
-
334
- def assert_status(expected_status=0)
335
- assert_equal expected_status, @status
336
- end
337
- end