[jdk8u-dev] Integrated: 8301620: [8u] some shell tests are passed but have unexpected operator errors
Ao Qi
aoqi at openjdk.org
Wed Feb 8 09:30:47 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)
This pull request has now been integrated.
Changeset: fbaabf36
Author: Ao Qi <aoqi at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk8u-dev/commit/fbaabf366e48edfd7e2749555544f6ea19f70b03
Stats: 4 lines in 3 files changed: 0 ins; 0 del; 4 mod
8301620: [8u] some shell tests are passed but have unexpected operator errors
Reviewed-by: sgehwolf
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/260
More information about the jdk8u-dev
mailing list