Skip to content

Commit

Permalink
8301620: [8u] some shell tests are passed but have unexpected operato…
Browse files Browse the repository at this point in the history
…r errors

Reviewed-by: sgehwolf
  • Loading branch information
theaoqi authored and jerboaa committed Feb 8, 2023
1 parent 8c42e20 commit fbaabf3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hotspot/test/runtime/6929067/Test6929067.sh
Expand Up @@ -23,7 +23,7 @@ OS=`uname -s`
case "$OS" in
Linux)
gcc_cmd=`which gcc`
if [ "x$gcc_cmd" == "x" ]; then
if [ "x$gcc_cmd" = "x" ]; then
echo "WARNING: gcc not found. Cannot execute test." 2>&1
exit 0;
fi
Expand Down
4 changes: 2 additions & 2 deletions hotspot/test/runtime/jsig/Test8017498.sh
@@ -1,7 +1,7 @@
#!/bin/sh

#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2013, 2023, 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
Expand Down Expand Up @@ -47,7 +47,7 @@ case "$OS" in
Linux)
echo "Testing on Linux"
gcc_cmd=`which gcc`
if [ "x$gcc_cmd" == "x" ]; then
if [ "x$gcc_cmd" = "x" ]; then
echo "WARNING: gcc not found. Cannot execute test." 2>&1
exit 0;
fi
Expand Down
2 changes: 1 addition & 1 deletion jdk/test/jdk/tools/launcher/JliLaunchTest.sh
Expand Up @@ -13,7 +13,7 @@ if [ "${OS}" != "Darwin" ]; then
fi

gcc_cmd=`which gcc`
if [ "x$gcc_cmd" == "x" ]; then
if [ "x$gcc_cmd" = "x" ]; then
echo "WARNING: gcc not found. Cannot execute test." 2>&1
exit 0;
fi
Expand Down

1 comment on commit fbaabf3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.