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

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

XMLWordPrintable

    • b50
    • generic
    • generic
    • Verified

        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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: