1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core
Jun Aruga f5c7fc495a Fix spawn_spec.rb for Travis arm64 environment.
The process group id (/proc/[pid]/stat 5th field) is 0
in the Travis arm64 environment.

This is a case where it is available.

$ cat /proc/4543/stat
4543 (ruby) S 4525 4525 1384 34818 4525 4194304 37443 1754841 0 0 366 105 2291 391 20 0 3 0 1381328 1428127744 11475 18446744073709551615 94195983785984 94195986670225 140728933833312 0 0 0 0 0 1107394127 0 0 0 17 2 0 0 1 0 0 94195987686512 94195987708942 94196017770496 140728933835483 140728933835595 140728933835595 140728933842904 0

This is a case where it is not available in Travis arm64 environment.

$ cat /proc/19179/stat
19179 (ruby) S 19160 0 0 0 -1 4194560 37618 1710547 313 163 770 665 5206 1439 20 0 2 0 17529566 1196347392 10319 18446744073709551615 187650811428864 187650815023116 281474602721280 0 0 0 0 4096 1107390031 0 0 0 17 22 0 0 0 0 0 187650815091456 187650815114064 187651414974464 281474602725080 281474602725211 281474602725211 281474602729420 0

See "man proc" for detail.
2019-11-06 09:08:37 -08:00
..
argf
array
basicobject
binding
builtin_constants
class
comparable
complex
dir
encoding
enumerable Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
enumerator
env Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
exception Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
false
fiber
file Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
filetest
float
gc
hash
integer
io Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
kernel Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
main
marshal
matchdata Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
math
method
module
mutex Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
nil
numeric
objectspace
proc
process Fix spawn_spec.rb for Travis arm64 environment. 2019-11-06 09:08:37 -08:00
queue
random Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
range
rational
regexp Fix warnings in Regexp#{match,match?} specs 2019-11-03 11:25:42 +01:00
signal
sizedqueue
string
struct
symbol Revert "[EXPERIMENTAL] Make Symbol#to_s return a frozen String [Feature #16150]" 2019-11-05 17:30:54 +09:00
systemexit
thread Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
threadgroup
time Update to ruby/spec@28a728b 2019-10-26 20:53:01 +02:00
tracepoint
true
unboundmethod
warning