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

[TEST_BUG]: com/sun/jdi/JdbReadTwiceTest.sh fails when run under root

    Details

    • Subcomponent:
    • Resolved In Build:
      b50
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Test

        com/sun/jdi/JdbReadTwiceTest.sh

        fails when run under root user because it expects file to be unreadable after chmod a-r.

        Since there is already check that one can make file unreadable for MKS (see below), it might make to add check for root user on Unix.

        if [ ! -r c:/ ] ; then
            # Can't make a file unreadable under MKS.
            echo

          Issue Links

            Activity

            Hide
            sla Staffan Larsen (Inactive) added a comment -
            RULE com/sun/jdi/JdbReadTwiceTest.sh ExitCode 1
            Show
            sla Staffan Larsen (Inactive) added a comment - RULE com/sun/jdi/JdbReadTwiceTest.sh ExitCode 1
            Hide
            sla Staffan Larsen (Inactive) added a comment -
            This test cannot be run as root. It needs to create an un-readable file.

            See also: JDK-8002116
            Show
            sla Staffan Larsen (Inactive) added a comment - This test cannot be run as root. It needs to create an un-readable file. See also: JDK-8002116
            Hide
            sla Staffan Larsen (Inactive) added a comment -
            Causes failures in nightly RT_Baseline.
            Show
            sla Staffan Larsen (Inactive) added a comment - Causes failures in nightly RT_Baseline.
            Hide
            coleenp Coleen Phillimore added a comment -

            Can you quarantine this test? Still fails in nightly. Don't know why DKFL doesn't match this.
            Show
            coleenp Coleen Phillimore added a comment - Can you quarantine this test? Still fails in nightly. Don't know why DKFL doesn't match this.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/hs-rt/jdk/rev/4be838061c3b
            User: ykantser
            Date: 2015-01-26 12:34:51 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-rt/jdk/rev/4be838061c3b User: ykantser Date: 2015-01-26 12:34:51 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/4be838061c3b
            User: lana
            Date: 2015-02-11 23:06:32 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/4be838061c3b User: lana Date: 2015-02-11 23:06:32 +0000

              People

              • Assignee:
                ykantser Yekaterina Kantserova (Inactive)
                Reporter:
                sla Staffan Larsen (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: