mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-05 16:09:09 +00:00
8032662: test/compiler/ciReplay/TestSA.sh should report ulimit issues
Reviewed-by: kvn, iignatyev
This commit is contained in:
parent
ebf3cad435
commit
4a7bc8eccd
@ -196,6 +196,11 @@ generate_replay() {
|
||||
then
|
||||
# enable core dump
|
||||
ulimit -c unlimited
|
||||
new_ulimit=`ulimit -c`
|
||||
if [ $new_ulimit != "unlimited" -a $new_ulimit != "-1" ]
|
||||
then
|
||||
test_fail 2 "CHECK :: ULIMIT" "Could not set 'ulimit -c unlimited'. 'ulimit -c' returns : $new_ulimit"
|
||||
fi
|
||||
|
||||
if [ $VM_OS = "solaris" ]
|
||||
then
|
||||
@ -228,7 +233,10 @@ generate_replay() {
|
||||
|
||||
core_locations=`grep -i core crash.out | grep "location:" | \
|
||||
sed -e 's/.*location: //'`
|
||||
echo CRASH OUTPUT:
|
||||
cat crash.out
|
||||
rm crash.out
|
||||
|
||||
# processing core locations for *nix
|
||||
if [ $VM_OS != "windows" ]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user