new_contents: import osgtest.library.core as core
  import osgtest.library.files as files
  import osgtest.library.service as service
  import osgtest.library.osgunittest as osgunittest
  
  class TestStopXrootdTPC(osgunittest.OSGTestCase):
      @core.elrelease(7,8)
      def test_01_stop_xrootd(self):
          if core.state['xrootd.tpc.backups-exist']:
              files.restore(core.config['xrootd.tpc.config'], "xrootd")
  
          core.skip_ok_unless_installed('xrootd', by_dependency=True)
          self.skip_ok_if(core.state['xrootd_tpc_service'], 'did not start server')
          service.check_stop(core.config['xrootd_tpc_service_1'])
          service.check_stop(core.config['xrootd_tpc_service_2'])
  
  
subject: Stop TPC related services