SDP-92

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler created this job
Closed
Fixed using with runRemoteCmd getting error if USER not defined in non-core SDP script.
20382Tweaks to supplemental (non-core SDP) scripts p4u_env.sh, libcore.sh, template.sh:
* Fixed bug relying on $USER, which is not guaranteed to be defined,
  preventing errors in unusual situations where it is not defined.
* Streamlined temp file management, adding new P4U_TMPDIR directory,
  which is cleaned up automatically.  It uses /dev/shm if available,
  otherwise 'mktemp -d'.
* runCmd() and runRemoteCmd() now clean up temp files as they goes.
* Added new 'captureOutputFlag' parameter to runRemoteCmd(), with
  similar semantics as with the same parameter in runCmd().
* Updated template.sh to illustrate new parameter in runRemoteCmd().
  • Details
  • Comments -
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
C. Thomas Tyler
Reported Date
Modified By
super-tom_tyler
Modified Date
Owned By
tom_tyler
Dev Notes
This job, SDP-92, was originally named job000582.
Type
Bug