Skip to content

Commit 6ae7a4f

Browse files
committed
merge revision(s) 33857,37157:
Run the test only if /dev/tty exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@37158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 2efac15 commit 6ae7a4f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/ruby/test_io.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2066,7 +2066,8 @@ def test_ioctl_linux
20662066

20672067
def test_ioctl_linux2
20682068
return if /linux/ !~ RUBY_PLATFORM
2069-
return if /^i?86|^x86_64/ !~ RUBY_PLATFORM
2069+
return if /^i.?86|^x86_64/ !~ RUBY_PLATFORM
2070+
return unless File.exist?('/dev/tty')
20702071

20712072
File.open('/dev/tty') { |f|
20722073
tiocgwinsz=0x5413

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#define RUBY_VERSION "1.9.3"
2-
#define RUBY_PATCHLEVEL 283
2+
#define RUBY_PATCHLEVEL 284
33

44
#define RUBY_RELEASE_DATE "2012-10-12"
55
#define RUBY_RELEASE_YEAR 2012

0 commit comments

Comments
 (0)