Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4356286

TEST_BUG: regression test missingReqAttributes.sh contains syntax error

XMLWordPrintable

    • 03
    • x86
    • linux

         Test sun/applet/ParseAppletsun/applet/ParseApplet/missingReqAttributes.sh
      from regression testsuite contains syntax error, which
      cause test failure under linux. Code below is taken from test.
      The problem is in line 85. Sample output on linux platform is shown
      below.

         Note. Solaris shell ignore line 85 silently, which may cause
      incorrect test result under Solaris.

      ----------------------begin of listing -------------------------------
      83 compareOut() {
      84 echo "test output:"
      85 nonEmptyOut() $1
      86 diff -c $1 $2
      87 result=$?
      88 if [ $result -ne 0 ]
      89 then exit 1
      90 fi
      91 }
      -------------------------- output ------------------------------------
      /.automount/novo48/root/export/home1/testbase/reg/test/sun/applet/ParseApplet/missingReqAttributes.sh: syntax error near unexpected token `$1'
      /.automount/novo48/root/export/home1/testbase/reg/test/sun/applet/ParseApplet/missingReqAttributes.sh: /.automount/novo48/root/export/home1/testbase/reg/test/sun/applet/ParseApplet/missingReqAttributes.sh: line 85: ` nonEmptyOut() $1'

      =======================================================================

      al.smith@eng 2001-03-12

      Regression test sun/applet/ParseApplet/missingReqAttributes.sh fails with ladyburd build 18

      User: as83306
      Category: java
      Subcategory: jit_symantec
      Bug/Rfe/EOU: bug
      Synopsis: Reg-test missingReqAttributes.sh Failing
      Keywords: regression, Red
      Hook 4: :r 38 reg
      Severity Impact: 0
      Severity Functionality: 1
      Priority: 2
      Description: Regression test sun/applet/ParseApplet/missingReqAttributes.sh Fails with Ladybird build 18
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html

      #Test Results (version 2)
      #Thu Mar 01 00:19:23 GMT+00:00 2001
      #checksum:3ecaee407a4e452
      #-----testdescription-----
      $file=/.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/sun/applet/ParseApplet/missingReqAttributes.sh
      $root=/.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18
      author=iag
      keywords=bug4250401 shell
      run=USER_SPECIFIED shell missingReqAttributes.sh\n
      source=missingReqAttributes.sh
      title=Missing required attributes should produce proper error message.

      #-----environment-----

      #-----testresult-----
      description=file:///.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/sun/applet/ParseApplet/missingReqAttributes.sh
      end=Thu Mar 01 00:19:23 GMT+00:00 2001
      environment=regtest
      execStatus=Failed. Execution failed: exit code 2
      javatestOS=Linux 2.2.14-6.1.1 (i386)
      javatestVersion=JT_2.1.3i
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell
      start=Thu Mar 01 00:19:23 GMT+00:00 2001
      status=Failed. Execution failed: exit code 2
      test=sun/applet/ParseApplet/missingReqAttributes.sh
      work=/export0/results/regression/ladybird/b18/seahund2.2.14-6.1.1-jth13-jdk131b18-02.28-22.19-ALL/sun/applet/ParseApplet

      #section:script_messages
      ----------messages:(1/99)----------
      JDK under test: java full version "1.3.1-rc1-b18" (/net/sqesvr/export/st1/jdk1.3.1/b18/linux-i386)

      #section:shell
      ----------messages:(3/136)----------
      command: shell missingReqAttributes.sh
      reason: User specified action: run shell missingReqAttributes.sh
      elapsed time (seconds): 0.082
      ----------System.out:(0/0)----------
      ----------System.err:(2/475)----------
      /.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/sun/applet/ParseApplet/missingReqAttributes.sh: syntax error near unexpected token `$1'
      /.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/sun/applet/ParseApplet/missingReqAttributes.sh: /.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/sun/applet/ParseApplet/missingReqAttributes.sh: line 85: ` nonEmptyOut() $1'
      result: Failed. Execution failed: exit code 2

      test result: Failed. Execution failed: exit code 2

      //////////////////////////////////////////////
      al.smith@eng 2001-05-08

      Regression test sun/applet/ParseApplet/missingReqAttributes.sh fails with Merlin build 63 on Linux, host seahund. This test has not passed within the last 10 builds.
      For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html

      #Test Results (version 2)
      #Thu May 03 13:12:40 GMT+00:00 2001
      #checksum:3a1d97b74d52cc0a
      #-----testdescription-----
      $file=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/sun/applet/ParseApplet/missingReqAttributes.sh
      $root=/.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63
      author=iag
      keywords=bug4250401 shell
      run=USER_SPECIFIED shell missingReqAttributes.sh\n
      source=missingReqAttributes.sh
      title=Missing required attributes should produce proper error message.

      #-----environment-----

      #-----testresult-----
      description=file:///.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/sun/applet/ParseApplet/missingReqAttributes.sh
      end=Thu May 03 13:12:40 GMT+00:00 2001
      environment=regtest
      execStatus=Failed. Execution failed: exit code 2
      javatestOS=Linux 2.2.14-6.1.1 (i386)
      javatestVersion=JT_2.1.3i
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell
      start=Thu May 03 13:12:40 GMT+00:00 2001
      status=Failed. Execution failed: exit code 2
      test=sun/applet/ParseApplet/missingReqAttributes.sh
      work=/export0/results/regression/merlin/b63/seahund.2.2.14-6.1.1-jth13-jdk14b63-05.03-09.14-ALL/sun/applet/ParseApplet

      #section:script_messages
      ----------messages:(1/102)----------
      JDK under test: java full version "1.4.0-beta-b63" (/net/sqesvr/export/st1/jdk14-beta/b63/linux-i386)

      #section:shell
      ----------messages:(3/136)----------
      command: shell missingReqAttributes.sh
      reason: User specified action: run shell missingReqAttributes.sh
      elapsed time (seconds): 0.076
      ----------System.out:(0/0)----------
      ----------System.err:(2/439)----------
      /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/sun/applet/ParseApplet/missingReqAttributes.sh: syntax error near unexpected token `$1'
      /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/sun/applet/ParseApplet/missingReqAttributes.sh: /.automount/sqesvr/root/export/st1/regression/merlin/jdk1.4Tests/tests/b63/sun/applet/ParseApplet/missingReqAttributes.sh: line 85: ` nonEmptyOut() $1'
      result: Failed. Execution failed: exit code 2

      test result: Failed. Execution failed: exit code 2
      ///////////////////////////////////////////////////////////////

      ###@###.### 2002-05-01

      New test results from hopper build 10. Test still failing in hopper for the same reason as above. This has been failing since Kestrel.

      Regression test sun/applet/ParseApplet/missingReqAttributes.sh fails with Hopper build 10 on SuSe Linux 7.1, host-seahund, desktop-KDE and hotspot-server.
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
      #Test Results (version 2)
      #Wed Apr 24 01:23:40 PDT 2002
      #checksum:5957f10e912f7a90
      #-----testdescription-----
      $file=/export0/regression/jdk1.4.1Tests/b10/sun/applet/ParseApplet/missingReqAttributes.sh
      $root=/export0/regression/jdk1.4.1Tests/b10
      author=iag
      keywords=bug4250401 shell
      run=USER_SPECIFIED shell missingReqAttributes.sh\n
      source=missingReqAttributes.sh
      title=Missing required attributes should produce proper error message.

      #-----environment-----

      #-----testresult-----
      description=file:///export0/regression/jdk1.4.1Tests/b10/sun/applet/ParseApplet/missingReqAttributes.sh
      end=Wed Apr 24 01:23:40 PDT 2002
      environment=regtest
      execStatus=Failed. Execution failed: exit code 2
      javatestOS=Linux 2.2.18 (i386)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell
      start=Wed Apr 24 01:23:40 PDT 2002
      status=Failed. Execution failed: exit code 2
      test=sun/applet/ParseApplet/missingReqAttributes.sh
      work=/export0/results/regression/hopper/b10/seahund2.2.18-jthb10-jdk141b10.04-23.20.13-ALL/sun/applet/ParseApplet

      #section:script_messages
      ----------messages:(4/202)----------
      JDK under test: (/export0/java/jdk141b10)
      java version "1.4.1-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b10)
      Java HotSpot(TM) Client VM (build 1.4.1-beta-b10, mixed mode)

      #section:shell
      ----------messages:(3/136)----------
      command: shell missingReqAttributes.sh
      reason: User specified action: run shell missingReqAttributes.sh
      elapsed time (seconds): 0.072
      ----------System.out:(0/0)----------
      ----------System.err:(2/251)----------
      /export0/regression/jdk1.4.1Tests/b10/sun/applet/ParseApplet/missingReqAttributes.sh: line 85: syntax error near unexpected token `$1'
      /export0/regression/jdk1.4.1Tests/b10/sun/applet/ParseApplet/missingReqAttributes.sh: line 85: ` nonEmptyOut() $1'
      result: Failed. Execution failed: exit code 2

      test result: Failed. Execution failed: exit code 2

            asaha Abhijit Saha
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: