Change 25238

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into / under Review 25239
View Review
Download .zip
Replaced references to /tmp with P4TMP (e.g.
/p4/N/tmp) to avoid
issues with SELinux incompatibility.

For p4verify.sh, enhanced:
* Minor performance enhancement: Added '-m1' flag to egrep that
  determines whether to exit code with non-zero, as we only need
  to detect one occurence.
* Changed 'Warning:' to 'Error:' if verify errors are detected.
* Removed redundant check that SDP_INSTANCE is set.
* Added total time info.
* Adjusted to pass 'shellcheck.sh' check.

#review-25239
  • Files 4
  • Comments 0
4 edited 0 added 0 deleted
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/p4verify.sh#26
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/sdp_sync.sh#20
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/lib/libcore.sh#16
Loading...
guest/perforce_software/sdp/dev/Server/Unix/p4/common/lib/p4u_env.sh#10
Loading...
Tip: Use n and p to cycle through the changes.