[macruby-changes] [1672] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Sat May 30 20:48:27 PDT 2009
Revision: 1672
http://trac.macosforge.org/projects/ruby/changeset/1672
Author: eloy.de.enige at gmail.com
Date: 2009-05-30 20:48:27 -0700 (Sat, 30 May 2009)
Log Message:
-----------
Tagged critical and failing examples of Kernel spec and added Kernel to spec:ci. Had to disable the send and system specs and commented an example in IO#initialize
Modified Paths:
--------------
MacRuby/branches/experimental/rakelib/spec.rake
MacRuby/branches/experimental/spec/frozen/core/io/initialize_spec.rb
MacRuby/branches/experimental/spec/frozen/core/kernel/load_spec.rb
MacRuby/branches/experimental/spec/frozen/core/kernel/puts_spec.rb
Added Paths:
-----------
MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec_disabled.rb
MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec_disabled.rb
MacRuby/branches/experimental/spec/frozen/fixtures/load/@a
MacRuby/branches/experimental/spec/frozen/fixtures/load/|date
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/initialize_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__callee__tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__method__tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/abort_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/at_exit_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/binding_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/callcc_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chomp_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chop_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/clone_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/eval_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exec_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exit_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fail_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fork_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/format_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/freeze_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/getc_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gets_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/global_variables_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gsub_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/initialize_copy_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_eval_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_set_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/iterator_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/load_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/local_variables_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/loop_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/method_missing_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/open_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/p_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/print_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/printf_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/private_methods_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/protected_methods_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_methods_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/putc_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/rand_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readline_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readlines_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/remove_instance_variable_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/respond_to_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/scan_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/select_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/set_trace_func_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_added_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_removed_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_undefined_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sleep_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/split_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sprintf_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/srand_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sub_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/syscall_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/taint_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/test_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/throw_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/to_a_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trace_var_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trap_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trust_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrace_var_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrust_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrusted_tags.txt
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/warn_tags.txt
Removed Paths:
-------------
MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec.rb
MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec.rb
Modified: MacRuby/branches/experimental/rakelib/spec.rake
===================================================================
--- MacRuby/branches/experimental/rakelib/spec.rake 2009-05-31 03:47:43 UTC (rev 1671)
+++ MacRuby/branches/experimental/rakelib/spec.rake 2009-05-31 03:48:27 UTC (rev 1672)
@@ -66,6 +66,7 @@
spec/frozen/core/file
spec/frozen/core/filetest
spec/frozen/core/hash
+ spec/frozen/core/kernel
spec/frozen/core/math
spec/frozen/core/method
spec/frozen/core/nil
@@ -92,12 +93,12 @@
desc "Run continuous integration language examples (all known good examples)"
task :ci do
- sh "./mspec/bin/mspec ci -B #{MACRUBY_MSPEC} spec/macruby #{CI_DIRS} #{KNOWN_GOOD_CORE_IO_FILES.join(' ')}"
+ sh "./mspec/bin/mspec ci -I./lib -B #{MACRUBY_MSPEC} spec/macruby #{CI_DIRS} #{KNOWN_GOOD_CORE_IO_FILES.join(' ')}"
end
desc "Run continuous integration language examples (all known good examples) (32 bit mode)"
task :ci32 do
- sh "/usr/bin/arch -arch i386 ./miniruby ./mspec/bin/mspec-ci -B #{MACRUBY_MSPEC} #{CI_DIRS} #{KNOWN_GOOD_CORE_IO_FILES.join(' ')}"
+ sh "/usr/bin/arch -arch i386 ./miniruby ./mspec/bin/mspec-ci -I./lib -B #{MACRUBY_MSPEC} #{CI_DIRS} #{KNOWN_GOOD_CORE_IO_FILES.join(' ')}"
end
desc "Run IO test with GDB enabled"
@@ -129,7 +130,8 @@
mkdir_p tag_base
Dir.glob("./spec/frozen/core/#{klass}/*_spec.rb").each do |spec_file|
- cmd = "./mspec/bin/mspec ci -f s -B ./spec/macruby.mspec #{spec_file}"
+ puts "Running spec: #{spec_file}"
+ cmd = "./mspec/bin/mspec ci -I./lib -f s -B ./spec/macruby.mspec #{spec_file}"
out = `#{cmd}`
if out.match(/^1\)(.+?)(FAILED|ERROR)/m)
@@ -139,6 +141,7 @@
puts "Writing tags file: #{tag_file}"
File.open(tag_file, 'a+') do |f|
+ f << "\n" unless f.read.empty?
failures.each do |failure|
f << "fails:#{failure}\n"
end
Modified: MacRuby/branches/experimental/spec/frozen/core/io/initialize_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/io/initialize_spec.rb 2009-05-31 03:47:43 UTC (rev 1671)
+++ MacRuby/branches/experimental/spec/frozen/core/io/initialize_spec.rb 2009-05-31 03:48:27 UTC (rev 1672)
@@ -29,7 +29,9 @@
lambda { @io.send :initialize, IOSpecs.closed_file.fileno }.should raise_error(IOError)
end
- it "raises an Errno::EBADF when given an invalid file descriptor" do
- lambda { @io.send :initialize, -1, 'w' }.should raise_error(Errno::EBADF)
- end
+ # MacRuby TODO: for some reason only compiling this method leads to abort
+ # when running in spec:ci eventhough the example is tagged as critical.
+ # it "raises an Errno::EBADF when given an invalid file descriptor" do
+ # lambda { @io.send :initialize, -1, 'w' }.should raise_error(Errno::EBADF)
+ # end
end
Modified: MacRuby/branches/experimental/spec/frozen/core/kernel/load_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/kernel/load_spec.rb 2009-05-31 03:47:43 UTC (rev 1671)
+++ MacRuby/branches/experimental/spec/frozen/core/kernel/load_spec.rb 2009-05-31 03:48:27 UTC (rev 1672)
@@ -1,5 +1,7 @@
require File.dirname(__FILE__) + '/../../spec_helper'
+require 'fileutils'
+
$load_fixture_dir = (File.dirname(__FILE__) + '/../../fixtures/load')
$LOAD_PATH << $load_fixture_dir
Modified: MacRuby/branches/experimental/spec/frozen/core/kernel/puts_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/kernel/puts_spec.rb 2009-05-31 03:47:43 UTC (rev 1671)
+++ MacRuby/branches/experimental/spec/frozen/core/kernel/puts_spec.rb 2009-05-31 03:48:27 UTC (rev 1672)
@@ -51,14 +51,14 @@
Kernel.puts([1, 2, [3]]).should == nil
end
- it "writes [...] for a recursive array arg" do
- x = []
- x << 2 << x
- $stdout.should_receive(:write).with("2")
- $stdout.should_receive(:write).with("[...]")
- $stdout.should_receive(:write).with("\n").exactly(2).times
- Kernel.puts(x).should == nil
- end
+ # it "writes [...] for a recursive array arg" do
+ # x = []
+ # x << 2 << x
+ # $stdout.should_receive(:write).with("2")
+ # $stdout.should_receive(:write).with("[...]")
+ # $stdout.should_receive(:write).with("\n").exactly(2).times
+ # Kernel.puts(x).should == nil
+ # end
it "writes a newline after objects that do not end in newlines" do
$stdout.should_receive(:write).with("5")
Deleted: MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec.rb 2009-05-31 03:47:43 UTC (rev 1671)
+++ MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec.rb 2009-05-31 03:48:27 UTC (rev 1672)
@@ -1,102 +0,0 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
-require File.dirname(__FILE__) + '/fixtures/classes'
-
-describe "Kernel#send" do
- it "invokes the named method" do
- class KernelSpecs::Foo
- def bar
- 'done'
- end
-
- private
- def bar2
- 'done2'
- end
- end
- KernelSpecs::Foo.new.send(:bar).should == 'done'
- KernelSpecs::Foo.new.send(:bar2).should == 'done2'
- end
-
- it "invokes a class method if called on a class" do
- class KernelSpecs::Foo
- def self.bar
- 'done'
- end
- end
- KernelSpecs::Foo.send(:bar).should == 'done'
- end
-
- it "raises a NoMethodError if the corresponding method can't be found" do
- class KernelSpecs::Foo
- def bar
- 'done'
- end
- end
- lambda { KernelSpecs::Foo.new.send(:baz) }.should raise_error(NameError)
- end
-
- it "raises a NoMethodError if the corresponding singleton method can't be found" do
- class KernelSpecs::Foo
- def self.bar
- 'done'
- end
- end
- lambda { KernelSpecs::Foo.send(:baz) }.should raise_error(NameError)
- end
-
- it "raises an ArgumentError if called with more arguments than available parameters" do
- class KernelSpecs::Foo
- def bar; end
- end
-
- lambda { KernelSpecs::Foo.new.send(:bar, :arg) }.should raise_error(ArgumentError)
- end
-
- it "raises an ArgumentError if called with fewer arguments than required parameters" do
- class KernelSpecs::Foo
- def foo(arg); end
- end
-
- lambda { KernelSpecs::Foo.new.send(:foo) }.should raise_error(ArgumentError)
- end
-
- it "succeeds if passed an arbitrary number of arguments as a splat parameter" do
- class KernelSpecs::Foo
- def baz(*args) args end
- end
-
- begin
- KernelSpecs::Foo.new.send(:baz).should == []
- KernelSpecs::Foo.new.send(:baz, :quux).should == [:quux]
- KernelSpecs::Foo.new.send(:baz, :quux, :foo).should == [:quux, :foo]
- rescue
- fail
- end
- end
-
- it "succeeds when passing 1 or more arguments as a required and a splat parameter" do
- class KernelSpecs::Foo
- def foo(first, *rest) [first, *rest] end
- end
-
- begin
- KernelSpecs::Foo.new.send(:baz, :quux).should == [:quux]
- KernelSpecs::Foo.new.send(:baz, :quux, :foo).should == [:quux, :foo]
- rescue
- fail
- end
- end
-
- it "succeeds when passing 0 arguments to a method with one parameter with a default" do
- class KernelSpecs::Foo
- def foo(first = true) first end
- end
-
- begin
- KernelSpecs::Foo.new.send(:foo).should == true
- KernelSpecs::Foo.new.send(:foo, :arg).should == :arg
- rescue
- fail
- end
- end
-end
Copied: MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec_disabled.rb (from rev 1671, MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec.rb)
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec_disabled.rb (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/core/kernel/send_spec_disabled.rb 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,102 @@
+require File.dirname(__FILE__) + '/../../spec_helper'
+require File.dirname(__FILE__) + '/fixtures/classes'
+
+describe "Kernel#send" do
+ it "invokes the named method" do
+ class KernelSpecs::Foo
+ def bar
+ 'done'
+ end
+
+ private
+ def bar2
+ 'done2'
+ end
+ end
+ KernelSpecs::Foo.new.send(:bar).should == 'done'
+ KernelSpecs::Foo.new.send(:bar2).should == 'done2'
+ end
+
+ it "invokes a class method if called on a class" do
+ class KernelSpecs::Foo
+ def self.bar
+ 'done'
+ end
+ end
+ KernelSpecs::Foo.send(:bar).should == 'done'
+ end
+
+ it "raises a NoMethodError if the corresponding method can't be found" do
+ class KernelSpecs::Foo
+ def bar
+ 'done'
+ end
+ end
+ lambda { KernelSpecs::Foo.new.send(:baz) }.should raise_error(NameError)
+ end
+
+ it "raises a NoMethodError if the corresponding singleton method can't be found" do
+ class KernelSpecs::Foo
+ def self.bar
+ 'done'
+ end
+ end
+ lambda { KernelSpecs::Foo.send(:baz) }.should raise_error(NameError)
+ end
+
+ it "raises an ArgumentError if called with more arguments than available parameters" do
+ class KernelSpecs::Foo
+ def bar; end
+ end
+
+ lambda { KernelSpecs::Foo.new.send(:bar, :arg) }.should raise_error(ArgumentError)
+ end
+
+ it "raises an ArgumentError if called with fewer arguments than required parameters" do
+ class KernelSpecs::Foo
+ def foo(arg); end
+ end
+
+ lambda { KernelSpecs::Foo.new.send(:foo) }.should raise_error(ArgumentError)
+ end
+
+ it "succeeds if passed an arbitrary number of arguments as a splat parameter" do
+ class KernelSpecs::Foo
+ def baz(*args) args end
+ end
+
+ begin
+ KernelSpecs::Foo.new.send(:baz).should == []
+ KernelSpecs::Foo.new.send(:baz, :quux).should == [:quux]
+ KernelSpecs::Foo.new.send(:baz, :quux, :foo).should == [:quux, :foo]
+ rescue
+ fail
+ end
+ end
+
+ it "succeeds when passing 1 or more arguments as a required and a splat parameter" do
+ class KernelSpecs::Foo
+ def foo(first, *rest) [first, *rest] end
+ end
+
+ begin
+ KernelSpecs::Foo.new.send(:baz, :quux).should == [:quux]
+ KernelSpecs::Foo.new.send(:baz, :quux, :foo).should == [:quux, :foo]
+ rescue
+ fail
+ end
+ end
+
+ it "succeeds when passing 0 arguments to a method with one parameter with a default" do
+ class KernelSpecs::Foo
+ def foo(first = true) first end
+ end
+
+ begin
+ KernelSpecs::Foo.new.send(:foo).should == true
+ KernelSpecs::Foo.new.send(:foo, :arg).should == :arg
+ rescue
+ fail
+ end
+ end
+end
Deleted: MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec.rb 2009-05-31 03:47:43 UTC (rev 1671)
+++ MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec.rb 2009-05-31 03:48:27 UTC (rev 1672)
@@ -1,60 +0,0 @@
-require File.dirname(__FILE__) + '/../../spec_helper'
-require File.dirname(__FILE__) + '/fixtures/classes'
-
-describe "Kernel#system" do
-
- it "can run basic things that exist" do
- begin
- result = false
-
- File.exist?("happy").should == false
- result = system("echo a >> happy")
- result.should == true
- File.exist?("happy").should == true
- ensure
- File.unlink "happy"
- end
- end
-
- it "returns false when it can't" do
- result = system("sad")
- result.should == false
- end
-
- it "does not write to stderr when it can't find a command" do
- system("sad").should output_to_fd("") # nothing in stderr
- end
-
- it "uses /bin/sh if freaky shit is in the command" do
- begin
- result = false
-
- File.exist?("happy").should == false
- result = system("echo woot > happy")
- result.should == true
- File.exist?("happy").should == true
- ensure
- File.unlink "happy"
- end
- end
-
- it "is a private method" do
- Kernel.should have_private_instance_method(:system)
- end
-
- before :each do
- ENV['TEST_SH_EXPANSION'] = 'foo'
- @shell_var = platform_is(:windows) ? '%TEST_SH_EXPANSION%' : '$TEST_SH_EXPANSION'
- @helper_script = KernelSpecs.helper_script
- end
-
- it "expands shell variables when given a single string argument" do
- result = system("ruby #{@helper_script} #{@shell_var} foo")
- result.should be_true
- end
-
- it "does not expand shell variables when given multiples arguments" do
- result = system("ruby", @helper_script, @shell_var, "foo")
- result.should be_false
- end
-end
Copied: MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec_disabled.rb (from rev 1671, MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec.rb)
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec_disabled.rb (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/core/kernel/system_spec_disabled.rb 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,60 @@
+require File.dirname(__FILE__) + '/../../spec_helper'
+require File.dirname(__FILE__) + '/fixtures/classes'
+
+describe "Kernel#system" do
+
+ it "can run basic things that exist" do
+ begin
+ result = false
+
+ File.exist?("happy").should == false
+ result = system("echo a >> happy")
+ result.should == true
+ File.exist?("happy").should == true
+ ensure
+ File.unlink "happy"
+ end
+ end
+
+ it "returns false when it can't" do
+ result = system("sad")
+ result.should == false
+ end
+
+ it "does not write to stderr when it can't find a command" do
+ system("sad").should output_to_fd("") # nothing in stderr
+ end
+
+ it "uses /bin/sh if freaky shit is in the command" do
+ begin
+ result = false
+
+ File.exist?("happy").should == false
+ result = system("echo woot > happy")
+ result.should == true
+ File.exist?("happy").should == true
+ ensure
+ File.unlink "happy"
+ end
+ end
+
+ it "is a private method" do
+ Kernel.should have_private_instance_method(:system)
+ end
+
+ before :each do
+ ENV['TEST_SH_EXPANSION'] = 'foo'
+ @shell_var = platform_is(:windows) ? '%TEST_SH_EXPANSION%' : '$TEST_SH_EXPANSION'
+ @helper_script = KernelSpecs.helper_script
+ end
+
+ it "expands shell variables when given a single string argument" do
+ result = system("ruby #{@helper_script} #{@shell_var} foo")
+ result.should be_true
+ end
+
+ it "does not expand shell variables when given multiples arguments" do
+ result = system("ruby", @helper_script, @shell_var, "foo")
+ result.should be_false
+ end
+end
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/initialize_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/initialize_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/io/initialize_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+critical:IO#initialize raises an Errno::EBADF when given an invalid file descriptor
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Array_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#Array is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Float_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel.Float is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/Integer_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel.Integer is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/String_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel.String is a private method
+fails:Kernel.String converts the given argument to a String by calling #to_s
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__callee__tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__callee__tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__callee__tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,9 @@
+critical:Kernel.__callee__ returns the current method, even when aliased
+critical:Kernel.__callee__ returns the original name when aliased method
+fails:Kernel.__callee__ returns the caller from blocks too
+fails:Kernel.__callee__ returns the caller from define_method too
+fails:Kernel.__callee__ returns the caller from block inside define_method too
+fails:Kernel.__callee__ returns the caller from a define_method called from the same class
+fails:Kernel.__callee__ returns method name even from eval
+fails:Kernel.__callee__ returns the original name when aliased method
+fails:Kernel.__callee__ returns the caller from blocks too
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__method__tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__method__tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/__method__tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,7 @@
+critical:Kernel.__method__ returns the current method, even when aliased
+critical:Kernel.__method__ returns the original name when aliased method
+fails:Kernel.__method__ returns the caller from blocks too
+fails:Kernel.__method__ returns the caller from define_method too
+fails:Kernel.__method__ returns the caller from block inside define_method too
+fails:Kernel.__method__ returns the caller from a define_method called from the same class
+fails:Kernel.__method__ returns method name even from eval
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/abort_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/abort_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/abort_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#abort is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/at_exit_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/at_exit_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/at_exit_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel.at_exit is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/autoload_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,11 @@
+critical:Kernel#autoload registers a file to load the first time the named constant is accessed
+critical:Kernel.autoload registers a file to load the first time the toplevel constant is accessed
+critical:Kernel.autoload? returns the name of the file that will be autoloaded
+critical:Kernel.autoload? returns nil if no file has been registered for a constant
+fails:Kernel#autoload is a private method
+fails:Kernel#autoload sets the autoload constant in Object's constant table
+fails:Kernel#autoload loads the file when the constant is accessed
+fails:Kernel#autoload does not call Kernel.require or Kernel.load to load the file
+fails:Kernel#autoload? is a private method
+fails:Kernel#autoload? returns the name of the file that will be autoloaded
+fails:Kernel.autoload sets the autoload constant in Object's metaclass's constant table
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/backtick_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#` is a private method
+fails:Kernel#` sets $? to the exit status of the executed sub-process
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/binding_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/binding_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/binding_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#binding is a private method
+fails:Kernel#binding encapsulates the execution context properly
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/block_given_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#block_given? is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/callcc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/callcc_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/callcc_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,9 @@
+fails:Kernel#callcc is a private method
+fails:Kernel#callcc is possible to exit a loop like a break
+fails:Kernel#callcc is possible to call a continuation multiple times
+fails:Kernel#callcc returns the results of a block if continuation is not called
+fails:Kernel#callcc returns the results of continuation once called
+fails:Kernel#callcc returns the arguments to call
+fails:Kernel#callcc preserves changes to block-local scope
+fails:Kernel#callcc preserves changes to method-local scope
+fails:Kernel#callcc raises a LocalJumpError if callcc is not given a block
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/caller_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,10 @@
+fails:Kernel#caller is a private method
+fails:Kernel#caller returns the current call stack
+fails:Kernel#caller omits a number of frames corresponding to the parameter
+fails:Kernel#caller in a Proc or eval returns the definition trace of a block when evaluated in a Proc binding
+fails:Kernel#caller in a Proc or eval returns the definition trace of a Proc
+fails:Kernel#caller in a Proc or eval returns the correct caller line from a called Proc
+fails:Kernel#caller in a Proc or eval returns the correct definition line for a complex Proc trace
+fails:Kernel#caller in a Proc or eval begins with (eval) for caller(0) in eval
+fails:Kernel#caller in a Proc or eval begins with the eval's sender's sender for caller(1) in eval
+fails:Kernel#caller in a Proc or eval shows the current line in the calling block twice when evaled
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/catch_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,4 @@
+critical:Kernel.catch can be nested
+fails:Kernel.catch raises ArgumentError if the number of arguments is not one
+fails:Kernel.catch raises TypeError if the argument is not a symbol
+fails:Kernel#catch is a private method
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chomp_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chomp_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chomp_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#chomp is a private method
+fails:Kernel#chomp! is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chop_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chop_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/chop_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#chop is a private method
+fails:Kernel#chop! is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/clone_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/clone_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/clone_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#clone copies singleton methods
+fails:Kernel#clone copies modules included in the singleton class
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/eval_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/eval_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/eval_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,10 @@
+critical:Kernel#eval allows Proc and binding to be nested in horrible ways
+fails:Kernel#eval is a private method
+fails:Kernel#eval evaluates within the scope of the eval
+fails:Kernel#eval evaluates such that consts are scoped to the class of the eval
+fails:Kernel#eval accepts a Proc object as a binding
+fails:Kernel#eval does not make Proc locals visible to evaluated code
+fails:Kernel#eval allows a binding to be captured inside an eval
+fails:Kernel#eval allows creating a new class in a binding
+fails:Kernel#eval uses the filename of the binding if none is provided
+fails:Kernel#eval can be aliased
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exec_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exec_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exec_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#exec is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exit_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exit_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/exit_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#exit is a private method
+fails:Kernel#exit! is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/extend_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#extend raises a TypeError if self is frozen
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fail_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fail_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fail_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel.fail is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fork_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fork_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/fork_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#fork is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/format_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/format_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/format_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#format is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/freeze_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/freeze_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/freeze_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#freeze has no effect on immediate values
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/getc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/getc_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/getc_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#getc is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gets_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gets_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gets_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#gets is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/global_variables_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/global_variables_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/global_variables_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel.global_variables is a private method
+fails:Kernel.global_variables finds subset starting with std
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gsub_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gsub_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/gsub_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,12 @@
+fails:Kernel#gsub is a private method
+fails:Kernel#gsub raises a TypeError if $_ is not a String
+fails:Kernel#gsub when matches sets $_ to a new string, leaving the former value unaltered
+fails:Kernel#gsub returns a string with the same contents as $_ after the operation
+fails:Kernel#gsub accepts Regexps as patterns
+fails:Kernel#gsub accepts Strings as patterns, treated literally
+fails:Kernel#gsub accepts objects which respond to #to_str as patterns and treats them as strings
+fails:Kernel#gsub with a pattern and replacement accepts strings for replacement
+fails:Kernel#gsub with a pattern and replacement accepts objects which respond to #to_str for replacement
+fails:Kernel#gsub with a pattern and replacement replaces \1 sequences with the regexp's corresponding capture
+fails:Kernel#gsub with pattern and block acts similarly to using $_.gsub
+fails:Kernel#gsub! is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/initialize_copy_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/initialize_copy_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/initialize_copy_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#initialize_copy is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_eval_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_eval_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_eval_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,8 @@
+critical:Kernel#instance_eval treats block-local variables as local to the block
+fails:Kernel#instance_eval passes the object to the block
+fails:Kernel#instance_eval only binds the eval to the receiver
+fails:Kernel#instance_eval shares a scope across sibling evals
+fails:Kernel#instance_eval sets class variables in the receiver
+fails:Kernel#instance_eval raises a TypeError when defining methods on an immediate
+fails:Kernel#instance_eval raises a TypeError when defining methods on numerics
+fails:Kernel#instance_eval has access to receiver's instance variables
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_set_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_set_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/instance_variable_set_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#instance_variable_set raises an ArgumentError if the instance variable name is a Fixnum
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/iterator_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/iterator_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/iterator_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#iterator? is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/lambda_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,6 @@
+critical:Kernel.lambda returns from block into caller block
+fails:Kernel.lambda is a private method
+fails:Kernel.lambda raises an ArgumentError when given too many arguments
+fails:Kernel.lambda raises an ArgumentError when given too few arguments
+fails:Kernel.lambda is a private method
+fails:Kernel.lambda returns from block into caller block
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/load_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/load_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/load_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,3 @@
+fails:Shell expansion in Kernel#load expands a preceding ~/ to the user's home directory to use as path
+fails:Kernel#load is a private method
+fails:Kernel#load produces __FILE__ as the given filename and __LINE__ as the source line number
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/local_variables_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/local_variables_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/local_variables_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,3 @@
+fails:Kernel.local_variables is a private method
+fails:Kernel.local_variables contains locals as they are added
+fails:Kernel.local_variables is accessable from bindings
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/loop_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/loop_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/loop_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,4 @@
+fails:Kernel.loop is a private method
+fails:Kernel.loop returns an enumerator if no block given
+fails:Kernel.loop rescues StopIteration
+fails:Kernel.loop rescues StopIteration's subclasses
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/method_missing_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/method_missing_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/method_missing_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,3 @@
+fails:Kernel#method_missing is a private method
+fails:Kernel#method_missing is called when a private method is called
+fails:Kernel#method_missing is called when a protected method is called
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/methods_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,3 @@
+fails:Kernel#methods doesn't pick up methods added inside 'class << self; private'
+fails:Kernel#methods returns a list of the names of publicly accessible methods in the object
+fails:Kernel#methods does not include any .undef'd methods
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/open_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/open_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/open_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,4 @@
+fails:Kernel#open is a private method
+fails:Kernel#open calls #to_open on argument
+fails:An exception occurred during: before :each
+fails:Kernel#open opens a file when given a valid filename
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/p_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/p_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/p_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,4 @@
+fails:Kernel#p is a private method
+fails:Kernel#p prints obj.inspect followed by system record separator for each argument given
+fails:Kernel#p is not affected by setting $\, $/ or $,
+fails:Kernel#p flushes output if receiver is a File
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/print_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/print_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/print_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#print is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/printf_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/printf_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/printf_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#printf is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/private_methods_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/private_methods_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/private_methods_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#private_methods returns a list of the names of privately accessible methods in the object
+fails:Kernel#private_methods returns a list of the names of privately accessible methods in the object and its ancestors and mixed-in modules
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/proc_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,6 @@
+critical:Kernel.proc returns from block into caller block
+fails:Kernel.proc is a private method
+fails:Kernel.proc raises an ArgumentError when given too many arguments
+fails:Kernel.proc raises an ArgumentError when given too few arguments
+fails:Kernel.proc is a private method
+fails:Kernel.proc returns from block into caller block
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/protected_methods_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/protected_methods_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/protected_methods_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#protected_methods returns a list of the names of protected methods accessible in the object
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_methods_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_methods_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/public_methods_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#public_methods returns a list of the names of publicly accessible methods in the object
+fails:Kernel#public_methods returns a list of the names of publicly accessible methods in the object and its ancestors and mixed-in modules
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/putc_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/putc_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/putc_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#putc is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/puts_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,10 @@
+critical:Kernel#puts writes [...] for a recursive array arg
+fails:Kernel#puts is a private method
+fails:Kernel#puts writes just a newline when given no args
+fails:Kernel#puts writes nil with a newline when given nil as an arg
+fails:Kernel#puts calls to_s before writing non-string objects
+fails:Kernel#puts writes each arg if given several
+fails:Kernel#puts flattens a nested array before writing it
+fails:Kernel#puts writes a newline after objects that do not end in newlines
+fails:Kernel#puts does not write a newline after objects that end in newlines
+fails:Kernel#puts ignores the $/ separator global
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/raise_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#raise is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/rand_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/rand_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/rand_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel.rand is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readline_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readline_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readline_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#readline is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readlines_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readlines_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/readlines_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#readlines is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/remove_instance_variable_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/remove_instance_variable_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/remove_instance_variable_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#remove_instance_variable is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/require_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,13 @@
+fails:Shell expansion in Kernel#require expands a preceding ~/ to the user's home directory for building the path to search
+fails:Shell expansion in Kernel#require adds the path to $LOADED_FEATURES
+fails:Kernel#require is a private method
+fails:Kernel#require loads a .rb from an absolute path and returns true
+fails:Kernel#require prefers to use .rb over .<ext> if given non-extensioned file and both exist
+fails:Kernel#require will load file.rb when given 'file' if it exists even if file.<ext> is loaded
+fails:Kernel#require produces __FILE__ as the given filename and __LINE__ as the source line number
+fails:Kernel#require stores the loaded file in $LOADED_FEATURES
+fails:Kernel#require stores a non-extensioned file with its located suffix
+fails:Kernel#require bases the filename in $LOADED_FEATURES on the path given, not just basename
+fails:Kernel#require will not load the same file twice, returns false instead
+fails:Kernel#require checks $LOADED_FEATURES to see whether file is already loaded
+fails:Kernel#require does not infinite loop on an rb file that requires itself
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/respond_to_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/respond_to_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/respond_to_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#respond_to? returns false if the given method was undefined
+fails:Kernel#respond_to? returns true if obj responds to the given private method, include_private = true
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/scan_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/scan_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/scan_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#scan is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/select_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/select_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/select_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#select is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/set_trace_func_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/set_trace_func_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/set_trace_func_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#set_trace_func is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_added_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_added_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_added_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#singleton_method_added is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_removed_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_removed_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_removed_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#singleton_method_removed is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_undefined_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_undefined_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_method_undefined_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#singleton_method_undefined is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/singleton_methods_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#singleton_methods returns a list of the names of singleton methods in the object
+fails:Kernel#singleton_methods returns a list of the names of singleton methods in the object and its ancestors and mixed-in modules
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sleep_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sleep_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sleep_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+critical:Kernel#sleep pauses execution indefinitely if not given a duration
+fails:Kernel#sleep is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/split_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/split_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/split_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#split is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sprintf_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sprintf_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sprintf_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,3 @@
+fails:Kernel#sprintf is a private method
+fails:Kernel#sprintf treats nil arguments as zero-width strings in %s slots
+fails:Kernel#sprintf treats nil arguments as zeroes in %d slots
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/srand_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/srand_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/srand_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel.srand is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sub_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sub_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/sub_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#sub is a private method
+fails:Kernel#sub! is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/syscall_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/syscall_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/syscall_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#syscall is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/taint_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/taint_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/taint_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#taint has no effect on immediate values
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/test_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/test_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/test_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,4 @@
+fails:Kernel#test is a private method
+fails:Kernel#test returns true when passed ?f if the argument is a regular file
+fails:Kernel#test returns true when passed ?e if the argument is a file
+fails:Kernel#test returns true when passed ?d if the argument is a directory
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/throw_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/throw_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/throw_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,4 @@
+critical:Kernel.throw transfers control to the innermost catch block waiting for the same sympol
+critical:Kernel.throw raises NameError if there is no catch block for the symbol
+fails:Kernel.throw raises TypeError if the first argument is not a symbol
+fails:Kernel#throw is a private method
\ No newline at end of file
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/to_a_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/to_a_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/to_a_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#to_a is defined on Kernel
+fails:Kernel#to_a when the receiver is not an Array returns an Array containing self
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trace_var_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trace_var_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trace_var_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#trace_var is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trap_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trap_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trap_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#trap is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trust_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trust_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/trust_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#trust clears the untrusted bit from a target object
+fails:Kernel#trust can not be called on frozen object
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrace_var_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrace_var_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrace_var_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1 @@
+fails:Kernel#untrace_var is a private method
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrust_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrust_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrust_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#untrusted? sets the untrusted bit on a target object
+fails:Kernel#untrusted? can not be called on frozen object
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrusted_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrusted_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/untrusted_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,2 @@
+fails:Kernel#untrusted? returns the untrusted status of an object
+fails:Kernel#untrusted? has no effect on immediate values
Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/warn_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/warn_tags.txt (rev 0)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/kernel/warn_tags.txt 2009-05-31 03:48:27 UTC (rev 1672)
@@ -0,0 +1,5 @@
+fails:Kernel.warn is a private method
+fails:Kernel.warn calls #write on $stderr if $VERBOSE is true
+fails:Kernel.warn calls #write on $stderr if $VERBOSE is false
+fails:Kernel.warn does not call #write on $stderr if $VERBOSE is nil
+fails:Kernel.warn writes the default record separator and NOT $/ to $stderr after the warning message
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090530/faf53be6/attachment-0001.html>
More information about the macruby-changes
mailing list