[jdk8u-dev] RFR: 8301620: [8u] some shell tests are passed but have unexpected operator errors
Severin Gehwolf
sgehwolf at openjdk.org
Wed Feb 1 17:49:58 UTC 2023
On Wed, 1 Feb 2023 17:21:23 GMT, Ao Qi <aoqi at openjdk.org> wrote:
> Some `.sh` tests are passed on Linux (with dash, like Ubuntu), but `[: ... unexpected operator` errors could be found when `-verbose:all` is used.
>
> For example:
>
> TEST: runtime/jsig/Test8017498.sh
> TEST JDK: /home/aoqi/work/theaoqi/jdk8u-dev/build/linux-x86_64-normal-server-release/images/j2sdk-image
>
> ACTION: shell -- Failed. Execution failed: exit code 2
> REASON: User specified action: run shell/timeout=30 Test8017498.sh
> TIME: 0.108 seconds
> messages:
> command: shell Test8017498.sh
> reason: User specified action: run shell/timeout=30 Test8017498.sh
> elapsed time (seconds): 0.108
> STDOUT:
> TESTSRC=/home/aoqi/work/theaoqi/jdk8u-dev/hotspot/test/runtime/jsig
> TESTJAVA=/home/aoqi/work/theaoqi/jdk8u-dev/build/linux-x86_64-normal-server-release/images/j2sdk-image
> COMPILEJAVA=/home/aoqi/work/theaoqi/jdk8u-dev/build/linux-x86_64-normal-server-release/images/j2sdk-image
> TESTCLASSES=/home/aoqi/tmp/JTwork/classes/runtime/jsig
> NULL =/dev/null
> PS =:
> FS =/
> RM =/bin/rm
> CP =/bin/cp
> MV =/bin/mv
> CLASSPATH =.:/home/aoqi/tmp/JTwork/classes/runtime/jsig:
> THIS_DIR=.
> VM_TYPE=server
> VM_BITS=64
> VM_OS=linux
> VM_CPU=amd64
> Testing on Linux
> STDERR:
> openjdk version "1.8.0_372-internal"
> OpenJDK Runtime Environment (build 1.8.0_372-internal-aoqi_2023_02_01_11_52-b00)
> OpenJDK 64-Bit Server VM (build 25.372-b00, mixed mode)
Marked as reviewed by sgehwolf (Reviewer).
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/260
More information about the jdk8u-dev
mailing list