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

[TEST_BUG] jdb has succeded to read an unreadable file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • core-svc
    • b62
    • generic
    • solaris

    Backports

      Description

        #section:shell
        ----------messages:(3/128)----------
        command: shell JdbReadTwiceTest.sh
        reason: User specified action: run shell JdbReadTwiceTest.sh
        elapsed time (seconds): 21.219
        ----------System.out:(60/3958)----------

        ...

        +++++++++++++++++++++++++++++++++++
        Read an unreadable file - verify the read fails.
        OK. the file is unreadable
        Failed: Expected 1, got 0: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/home/jdb.ini
        -----
        Initializing jdb ...
        *** Reading commands from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/home/jdb.ini
        Unrecognized command: 'uid=62012(gtee)'. Try help...
        > > -----

        +++++++++++++++++++++++++++++++++++
        Read a directory - verify the read fails
        Passed: Expected 1, got 1: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/home/jdb.ini

        +++++++++++++++++++++++++++++++++++
        Verify the jdb read command still works
        Passed: Expected 1, got 1: from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        Failed: Expected 1, got 0: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        -----
        Initializing jdb ...
        *** Reading commands from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/jdb.ini
        *** Reading commands from /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        > > -----
        Passed: Expected 1, got 1: open: /export/local/aurora/sandbox/results/workDir/classes/0/com/sun/jdi/jdbRead2461/fred
        One or more tests failed

        Attachments

          Issue Links

            Activity

              People

                dsamersoff Dmitriy Samersoff
                ykantser Yekaterina Kantserova (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: