mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1016629 - h. Fix wrong sysinfo usage; r=trivial
This commit is contained in:
parent
f9478e9939
commit
382ac489ff
@ -24,7 +24,8 @@ function run_test() {
|
||||
// We use the rt_tgsigqueueinfo syscall on Linux which requires a
|
||||
// certain kernel version. It's not an error if the system running
|
||||
// the test is older than that.
|
||||
let kernel = Services.sysinfo.kernel_version || Services.sysinfo.version;
|
||||
let kernel = Services.sysinfo.get('kernel_version') ||
|
||||
Services.sysinfo.get('version');
|
||||
if (Services.vc.compare(kernel, '2.6.31') < 0) {
|
||||
ok("Hang reporting not supported for old kernel.");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user