PageRenderTime 24ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/runtime/framework/regress/framework00002.ksh

https://bitbucket.org/rsaqc/openesb-core
Korn Shell | 52 lines | 9 code | 9 blank | 34 comment | 1 complexity | 0598829baf7967d4f3cd79cff393b935 MD5 | raw file
  1. #!/bin/sh
  2. #
  3. # BEGIN_HEADER - DO NOT EDIT
  4. #
  5. # The contents of this file are subject to the terms
  6. # of the Common Development and Distribution License
  7. # (the "License"). You may not use this file except
  8. # in compliance with the License.
  9. #
  10. # You can obtain a copy of the license at
  11. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  12. # See the License for the specific language governing
  13. # permissions and limitations under the License.
  14. #
  15. # When distributing Covered Code, include this CDDL
  16. # HEADER in each file and include the License file at
  17. # https://open-esb.dev.java.net/public/CDDLv1.0.html.
  18. # If applicable add the following below this CDDL HEADER,
  19. # with the fields enclosed by brackets "[]" replaced with
  20. # your own identifying information: Portions Copyright
  21. # [year] [name of copyright owner]
  22. #
  23. #
  24. # @(#)framework00002.ksh
  25. # Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
  26. #
  27. # END_HEADER - DO NOT EDIT
  28. #
  29. #regress setup
  30. . ./regress_defs.ksh
  31. echo testing private library invocation for engines/bindings
  32. # package components
  33. ant -emacs -q -f $JV_FRAMEWORK_REGRESS_DIR/scripts/build-framework00002-components.ant build-components
  34. # install engine
  35. $JBI_ANT -Djbi.install.file=$JV_FRAMEWORK_BLD_DIR/dist/PrivateLibraryTestEngine.jar install-component
  36. # start engine (this invokes the private lib API)
  37. $JBI_ANT -Djbi.component.name="PrivateLibraryTestEngine" start-component
  38. # shutdown engine
  39. $JBI_ANT -Djbi.component.name="PrivateLibraryTestEngine" shut-down-component
  40. # uninstall engine
  41. $JBI_ANT -Djbi.component.name="PrivateLibraryTestEngine" uninstall-component
  42. echo Private Library Invocation
  43. grep "SUN'S STOCK VALUE = 25.0" $JBI_DOMAIN_ROOT/logs/classloaderregresstests.privatelibtest.engine.rt.log | wc -l