#------------------------------------------------------------------------------
# Usage:
#
# cd <YourHMSWorkspaceRoot>/dev/p4/common/site/hms/test
# source ./env.sh
#------------------------------------------------------------------------------
# These settings assume that an SDP development workspace is mapped to a root
# directory parallel to the root diretory of the HMS workspace, with 'sdp' in
# place of 'hms'.
# In a runtime environment, HMS is overlayed and blended into the SDP in the
# "as-deployed" /p4/common structure. For example, HMS and SDP libs appear
# in /p4/common/lib. These settings allow testing of files in the
# development code tree without a runtime environment.
export HMS_TEST_HOME=$PWD
export HMS_HOME="${HMS_TEST_HOME%/*}"
export HMS_BIN="${HMS_HOME%/*}/bin"
export HMS_LIB="${HMS_TEST_HOME%/hms/test}/lib"
export HMS_SCRIPTS="${HMS_HOME}/scripts"
export SDP_HOME="${HMS_HOME%/p4/common/site/hms}"
export SDP_HOME="${SDP_HOME/hms/sdp}"
export P4U_LIB="${SDP_HOME}/Server/Unix/p4/common/lib"
export P4U_ENV="${P4U_LIB}/p4u_env.sh"
export P4CBIN="${SDP_HOME}/Server/Unix/p4/common/bin"
export P4CCFG="${SDP_HOME}/Server/Unix/p4/common/config"
export SDP_ENV="$P4CCFG/p4_vars.template"
export PATH="$HMS_BIN:$HMS_SCRIPTS:$PATH"
export P4BROKERBIN=p4broker_test_hms
unset P4CONFIG
export P4ENVIRO=/dev/null/.p4enviro
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 33516 | C. Thomas Tyler |
Consistency pass: fix absolute URLs, p4ms->hms renames, script/doc typos and bugs - Convert absolute workshop.perforce.com URLs to relative paths in dlp/ReadMe.md - Fix case-mismatch link to HMS_Product_Roadmap.md in README.md - Rename reset_p4ms.sh -> reset_hms.sh and p4broker_p4ms_test -> p4broker_hms_test - Fix .sh-suffix bugs: bin/hms calling global_replica_status.sh (should be no ext), and matching SEE ALSO / doc references for sdp_sync and global_replica_status - Add missing scripts (gtu, hrun, irun, global_replica_status) to gen_script_man_pages.sh - Add stub scripts: nj_help.sh, broker_njob.pl, broker_mkproj.pl, broker_jr.pl - Remove dangling absolute symlinks HostCM/p4 and HostCM/p4d (cruft) - Rename test/b -> test/broker_ctl.sh for clarity - Fix real bugs: broker_imply-u.pl broken regex match, gen_dlp_broker_cfg.sh and gen_nj_broker_cfg.sh copy-pasted Version-file existence check, garbled comment in broker_must_be_owner.pl, unclosed quote in tools/gsr.sh usage(), missing 'h' in HMS_SystemComponents.md broker command example (^ms$ -> ^hms$) - Fix broken sed command and incomplete sentence in HMS_Install_Notes.md and SDP_and_HMS_Update_Process.md - Fix broken markdown table in HMS_Product_Roadmap.md - Fix unclosed parenthesis, missing verb, and FKA Swarm mislabel in HMSDeploymentPlanning.adoc - Standardize //streams/main/... naming in HostCM/ReadMe.md - Numerous typo fixes across README.md, HMS_SystemComponents.md, SDP_and_HMS_Update_Process.md, HMS_TightShipManagement.adoc, HMSDeploymentPlanning.adoc, HostCM/ReadMe.md, and various scripts Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> |