< prev index next >
test/jdk/java/lang/management/OperatingSystemMXBean/TestSystemLoadAvg.sh
Print this page
rev 59383 : [mq]: final
*** 1,7 ****
#
! # Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
--- 1,7 ----
#
! # Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
*** 59,69 ****
MAX=5
i=1
while true; do
echo "Run $i: TestSystemLoadAvg"
case `uname -s` in
! SunOS | Linux | Darwin | AIX )
runOne GetSystemLoadAverage
;;
* )
# On Windows -1.0 should be returned
runOne GetSystemLoadAverage "-1.0"
--- 59,69 ----
MAX=5
i=1
while true; do
echo "Run $i: TestSystemLoadAvg"
case `uname -s` in
! Linux | Darwin | AIX )
runOne GetSystemLoadAverage
;;
* )
# On Windows -1.0 should be returned
runOne GetSystemLoadAverage "-1.0"
< prev index next >