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

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

    XMLWordPrintable

    Details

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

      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

          Attachments

            Issue Links

              Activity

                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: