summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_system.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb
index f1372781cf..13266d9d37 100644
--- a/test/ruby/test_system.rb
+++ b/test/ruby/test_system.rb
@@ -84,6 +84,10 @@ class TestSystem < Test::Unit::TestCase
ENV["PATH"] = path
end
File.unlink tmpfilename
+
+ testname = '[ruby-core:44505]'
+ assert_match /Windows/, `ver`, testname
+ assert_equal 0, $?.to_i, testname
end
}
end