[ruby-core:76063] [Ruby trunk Bug#12500] TestProcess#test_aspawn_too_long_path fails on mips with "argument too big"
From:
zeha@...
Date:
2016-06-17 17:56:18 UTC
List:
ruby-core #76063
Issue #12500 has been reported by Christian Hofstaedtler. ---------------------------------------- Bug #12500: TestProcess#test_aspawn_too_long_path fails on mips with "argument too big" https://bugs.ruby-lang.org/issues/12500 * Author: Christian Hofstaedtler * Status: Open * Priority: Normal * Assignee: * ruby -v: ruby 2.3.1p112 (2016-04-26) [mips-linux-gnu] * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: REQUIRED ---------------------------------------- Recently in Debian we've enabled `make check` and this is one of the test failures we get for ruby2.3, on mips: ``` TestProcess#test_aspawn_too_long_path [/束PKGBUILDDIR損/test/ruby/test_process.rb:1602]: [ruby-core:34833] #7904 [ruby-core:52628] #11613. [Errno::ENOENT, Errno::E2BIG] exception expected, not. Class: <ArgumentError> Message: <"argument too big"> ---Backtrace--- /束PKGBUILDDIR損/test/ruby/test_process.rb:1619:in `*' /束PKGBUILDDIR損/test/ruby/test_process.rb:1619:in `block (3 levels) in assert_fail_too_long_path' /束PKGBUILDDIR損/test/ruby/test_process.rb:1616:in `loop' /束PKGBUILDDIR損/test/ruby/test_process.rb:1616:in `block (2 levels) in assert_fail_too_long_path' /束PKGBUILDDIR損/test/lib/test/unit/assertions.rb:74:in `assert_raise' /束PKGBUILDDIR損/test/ruby/test_process.rb:1614:in `block in assert_fail_too_long_path' /束PKGBUILDDIR損/test/lib/envutil.rb:159:in `suppress_warning' /束PKGBUILDDIR損/test/ruby/test_process.rb:1613:in `assert_fail_too_long_path' /束PKGBUILDDIR損/test/ruby/test_process.rb:1602:in `test_aspawn_too_long_path' /束PKGBUILDDIR損/test/lib/test/unit.rb:1018:in `run_test' --------------- ``` I think is caused by some array or string mangling code used by Process.spawn, but can't be sure. Please also backport any fixes for this to 2.3. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>