8151709: jhsdb should show help message in SALauncher.
authorysuenaga
Tue, 15 Mar 2016 12:27:26 +0900
changeset 37315 0524979ef11e
parent 37314 341fa2e9011f
child 37316 2540215e3ada
8151709: jhsdb should show help message in SALauncher. Reviewed-by: dsamersoff
jdk/test/sun/tools/jhsdb/SAGetoptTest.java
--- a/jdk/test/sun/tools/jhsdb/SAGetoptTest.java	Fri Mar 04 18:13:04 2016 +0900
+++ b/jdk/test/sun/tools/jhsdb/SAGetoptTest.java	Tue Mar 15 12:27:26 2016 +0900
@@ -152,5 +152,8 @@
 
         String[] optionSet6 = {"--exe", "--core", "bla_core"};
         badOptionsTest(6, optionSet6, "Argument is expected for 'exe'");
+
+        String[] optionSet7 = {"--exe"};
+        badOptionsTest(7, optionSet7, "Argument is expected for 'exe'");
     }
   }