test/hotspot/jtreg/serviceability/sa/ClhsdbPrintAs.java
author sspitsyn
Tue, 26 Jun 2018 13:50:59 -0700
changeset 50802 fa380b3b2b7d
parent 50791 b1e90a8a876c
child 51287 7b1ddbafa134
permissions -rw-r--r--
8205721: Problem list serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorStatArrayCorrectnessTest.java Summary: Add the test to the ProblemList.txt Reviewed-by: dcubed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48401
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     1
/*
50791
b1e90a8a876c 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents: 48401
diff changeset
     2
 * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
48401
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     4
 *
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     7
 * published by the Free Software Foundation.
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     8
 *
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    13
 * accompanied this code).
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    14
 *
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    18
 *
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    21
 * questions.
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    22
 */
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    23
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    24
import java.util.HashMap;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    25
import java.util.List;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    26
import java.util.Map;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    27
import java.util.ArrayList;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    28
import jdk.test.lib.apps.LingeredApp;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    29
50791
b1e90a8a876c 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents: 48401
diff changeset
    30
/**
48401
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    31
 * @test
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    32
 * @bug 8192985
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    33
 * @summary Test the clhsdb 'printas' command
50791
b1e90a8a876c 8205419: [testbug] TestJmapCore failing without SA: introduce @requires vm.hasSAandCanAttach
goetz
parents: 48401
diff changeset
    34
 * @requires vm.hasSA
48401
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    35
 * @library /test/lib
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    36
 * @run main/othervm ClhsdbPrintAs
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    37
 */
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    38
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    39
public class ClhsdbPrintAs {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    40
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    41
    public static void main(String[] args) throws Exception {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    42
        System.out.println("Starting the ClhsdbPrintAs test");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    43
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    44
        LingeredApp theApp = null;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    45
        try {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    46
            ClhsdbLauncher test = new ClhsdbLauncher();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    47
            theApp = LingeredApp.startApp();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    48
            System.out.println("Started LingeredApp with pid " + theApp.getPid());
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    49
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    50
            // Run the 'jstack -v' command to get the address of a the Method*
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    51
            // representing LingeredApp.main
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    52
            List<String> cmds = List.of("jstack -v");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    53
            Map<String, List<String>> expStrMap;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    54
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    55
            String jstackOutput = test.run(theApp.getPid(), cmds, null, null);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    56
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    57
            if (jstackOutput == null) {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    58
                // Output could be null due to attach permission issues
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    59
                // and if we are skipping this.
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    60
                LingeredApp.stopApp(theApp);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    61
                return;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    62
            }
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    63
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    64
            String[] snippets = jstackOutput.split("LingeredApp.main");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    65
            String addressString = null;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    66
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    67
            String[] tokens = snippets[1].split("Method\\*=");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    68
            String[] words = tokens[1].split(" ");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    69
            addressString = words[0];
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    70
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    71
            cmds = new ArrayList<String>();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    72
            expStrMap = new HashMap<>();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    73
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    74
            String cmd = "printas Method " + addressString;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    75
            cmds.add(cmd);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    76
            expStrMap.put(cmd, List.of
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    77
                ("ConstMethod", "MethodCounters", "Method::_access_flags"));
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    78
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    79
            // Run the printas Method <addr> command to obtain the address
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    80
            // of ConstMethod*
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    81
            String methodDetailsOutput = test.run(theApp.getPid(), cmds, expStrMap, null);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    82
            snippets = methodDetailsOutput.split("ConstMethod*");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    83
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    84
            tokens = snippets[1].split(" ");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    85
            for (String token : tokens) {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    86
                if (token.contains("0x")) {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    87
                    addressString = token.replace("\n", "");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    88
                    break;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    89
                }
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    90
            }
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    91
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    92
            cmds = new ArrayList<String>();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    93
            expStrMap = new HashMap<>();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    94
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    95
            cmd = "printas ConstMethod " + addressString;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    96
            cmds.add(cmd);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    97
            expStrMap.put(cmd, List.of
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    98
                ("ConstantPool", "_max_locals", "_flags"));
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
    99
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   100
            // Run the printas constMethod <addr> command to obtain the address
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   101
            // of ConstantPool*
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   102
            String constMethodDetailsOutput = test.run(theApp.getPid(), cmds, expStrMap, null);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   103
            snippets = constMethodDetailsOutput.split("ConstantPool*");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   104
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   105
            tokens = snippets[1].split(" ");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   106
            for (String token : tokens) {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   107
                if (token.contains("0x")) {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   108
                    addressString = token.replace("\n", "");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   109
                    break;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   110
                }
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   111
            }
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   112
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   113
            cmds = new ArrayList<String>();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   114
            expStrMap = new HashMap<>();
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   115
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   116
            cmd = "printas ConstantPool " + addressString;
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   117
            cmds.add(cmd);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   118
            expStrMap.put(cmd, List.of
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   119
                ("ConstantPoolCache", "_pool_holder", "InstanceKlass*"));
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   120
            test.run(theApp.getPid(), cmds, expStrMap, null);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   121
        } catch (Exception ex) {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   122
            throw new RuntimeException("Test ERROR " + ex, ex);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   123
        } finally {
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   124
            LingeredApp.stopApp(theApp);
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   125
        }
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   126
        System.out.println("Test PASSED");
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   127
    }
be065f758154 8192985: SA: Test cases for the clhsdb 'inspect', 'scanoops' and 'printas' commands
jgeorge
parents:
diff changeset
   128
}