SDP-297

erikf
Closed
Fixed handling of unlaod depots in p4verify.sh

From email [tweaked]:

I found a bug related to the 'unload' depot.  It was being verified
with the wrong flags. This is because the test to identify an 'unload'
depot never succeeds.  Why?  The text returned from the extraction for
the depot type does not return 'unload' but rather '\tunload'. The sed
should be modified

From:
depot_type=`$P4 depot -o $d | sed -n "s/^Type:[     ]*\(.*\)/\1/p" `

To:
depot_type=`$P4 depot -o $d | sed -n "s/^Type:\t[     ]*\(.*\)/\1/p" `

Now p4verify is called with the -U flag for unload depot types.
Status
Closed
Project
perforce-software-sdp
Severity
C
Reported By
erikf
Reported Date
Modified By
tom_tyler
Modified Date
Owned By
tom_tyler
Component
core-unix
Type
Bug