src/tests/cli/t_pkg_install.py
changeset 3312 5469bee7f856
parent 3311 d7bb9c5f4baa
child 3327 813aef9ca578
equal deleted inserted replaced
3311:d7bb9c5f4baa 3312:5469bee7f856
   959                                     exit=1)
   959                                     exit=1)
   960 
   960 
   961                         # Now attempt to corrupt the client's copy of the
   961                         # Now attempt to corrupt the client's copy of the
   962                         # manifest such that actions are malformed.
   962                         # manifest such that actions are malformed.
   963                         for bad_act in (
   963                         for bad_act in (
   964                             'set name=description value="" \" my desc \" ""',
   964                             'set name=description value="" \" my desc  ""',
   965                             "set name=com.sun.service.escalations value="):
   965                             "set name=com.sun.service.escalations value="):
   966                                 self.debug("Testing with bad action "
   966                                 self.debug("Testing with bad action "
   967                                     "'{0}'.".format(bad_act))
   967                                     "'{0}'.".format(bad_act))
   968                                 bad_mdata = mdata + "{0}\n".format(bad_act)
   968                                 bad_mdata = mdata + "{0}\n".format(bad_act)
   969                                 self.write_img_manifest(pfmri, bad_mdata)
   969                                 self.write_img_manifest(pfmri, bad_mdata)