Fixed shell_rc debug mode bug in plug-in processing.

shell_rc was both a parm to process_plug_in_packages.py and architected
output from process_plug_in_packages.py which caused the calling program
to get confused.

In one particular case, function rprocess_plug_in_packages from
gen_robot_plug_in.py makes the following call...

process_plug_in_packages.py ... --shell_rc=0x00000200 ...

This means that a return code of 0x00000200 is allowed and will not
be considered an error.  In debug mode, process_plug_in_packages.py
prints all of its parms which includes this output:

shell_rc:            0x00000200

And later prints the final value of shell_rc:

shell_rc:            0x00000000

rprocess_plug_in_packages processes the output to obtain the final value
of shell_rc but instead gets the first value which is shell_rc.

To resolve this problem, the process_plug_in_packages.py parm name was
changed to allow_shell_rc.

Change-Id: I75145bce7a3d8a25adb101ee06136bfc32293935
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
2 files changed