⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻
📖 第 1 页 / 共 4 页
字号:
	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    Specify all namespaces." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS3 -F test/CimsubTestNS1:Filter11 -H test/CimsubTestNS2:ListenerDestination06 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test filter." >> $(RESULTFILE)	@cimsub -lf -F test/CimsubTestNS0:Filter02 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Try to remove test filter." >> $(RESULTFILE)	@$(ECHO) "    The filter is still referenced by a suscription." >> $(RESULTFILE)	@cimsub -rf -F test/CimsubTestNS0:Filter02 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the test filter." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F test/CimsubTestNS0:Filter02 -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler01 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the test filter." >> $(RESULTFILE)	@cimsub -rs -n test/CimsubTestNS0 -F test/CimsubTestNS0:Filter02 -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler01 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the test filter." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F test/CimsubTestNS0:Filter02 -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler01 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Try to remove test filter." >> $(RESULTFILE)	@$(ECHO) "    The filter should be removed." >> $(RESULTFILE)	@cimsub -rf -F test/CimsubTestNS0:Filter02 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test filter." >> $(RESULTFILE)	@cimsub -lf -F test/CimsubTestNS0:Filter02 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List persistent test handler." >> $(RESULTFILE)	@cimsub -lh -v -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02p >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Try to remove persistent test handler." >> $(RESULTFILE)	@$(ECHO) "    The handler is still referenced by a subscription." >> $(RESULTFILE)	@cimsub -rh -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02p >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the persistent test handler." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F test/CimsubTestNS0:Filter01 -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02p >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the persistent test handler." >> $(RESULTFILE)	@cimsub -rs -n test/CimsubTestNS0 -F test/CimsubTestNS0:Filter01 -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02p >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the persistent test handler." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F Filter01 -H CIM_IndicationHandlerCIMXML.Handler02p >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove persistent test handler." >> $(RESULTFILE)	@$(ECHO) "    The handler should be removed." >> $(RESULTFILE)	@cimsub -rh -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02p >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List persistent test handler." >> $(RESULTFILE)	@cimsub -lh -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02p >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List transient test handler." >> $(RESULTFILE)	@cimsub -lh -v -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the transient test handler." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F Filter01 -H CIM_IndicationHandlerCIMXML.Handler02t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove the transient test handler." >> $(RESULTFILE)	@cimsub -rh -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List transient test handler." >> $(RESULTFILE)	@$(ECHO) "    The transient test handler should have been removed." >> $(RESULTFILE)	@cimsub -lh -H test/CimsubTestNS0:CIM_IndicationHandlerCIMXML.Handler02t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    The test subscription should have been removed." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F Filter01 -H CIM_IndicationHandlerCIMXML.Handler02t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List transient test handler." >> $(RESULTFILE)	@cimsub -lh -H test/CimsubTestNS0:ListenerDestination01t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    This is the only reference to the transient test handler." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F Filter01 -H ListenerDestination01t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove the test subscription." >> $(RESULTFILE)	@$(ECHO) "    The test handler is only referenced by this subscription." >> $(RESULTFILE)	@cimsub -rs -n test/CimsubTestNS0 -F Filter01 -H ListenerDestination01t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    The test subscription should have been removed." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F Filter01 -H ListenerDestination01t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List transient test handler." >> $(RESULTFILE)	@$(ECHO) "    The transient test handler should still exist." >> $(RESULTFILE)	@cimsub -lh -H test/CimsubTestNS0:ListenerDestination01t >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F Filter09 -H ListenerDestination03 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test handler." >> $(RESULTFILE)	@cimsub -lh -H test/CimsubTestNS0:ListenerDestination03 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test filter." >> $(RESULTFILE)	@cimsub -lf -F test/CimsubTestNS0:Filter09 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove the test subscription,filter and handler." >> $(RESULTFILE)	@cimsub -ra -n test/CimsubTestNS0 -F Filter09  -H ListenerDestination03 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test subscription." >> $(RESULTFILE)	@$(ECHO) "    The test subscription should have been removed." >> $(RESULTFILE)	@cimsub -ls -n test/CimsubTestNS0 -F Filter09 -H ListenerDestination03 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test handler." >> $(RESULTFILE)	@$(ECHO) "    The test handler should have been removed." >> $(RESULTFILE)	@cimsub -lh -H test/CimsubTestNS0:ListenerDestination03 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test filter." >> $(RESULTFILE)	@$(ECHO) "    The test filter should have been removed." >> $(RESULTFILE)	@cimsub -lf -F test/CimsubTestNS0:Filter09 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test filter." >> $(RESULTFILE)	@cimsub -lf -F test/CimsubTestNS1:Filter13 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove test filter." >> $(RESULTFILE)	@$(ECHO) "    The filter should be removed." >> $(RESULTFILE)	@cimsub -rf -F test/CimsubTestNS1:Filter13 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List test filter." >> $(RESULTFILE)	@cimsub -lf -F test/CimsubTestNS1:Filter13 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove the test subscription." >> $(RESULTFILE)	@$(ECHO) "    Valid filter and nonexistent handler." >> $(RESULTFILE)	@cimsub -rs -n test/CimsubTestNS0 -F Filter01 -H invalidHandler >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Remove the test subscription." >> $(RESULTFILE)	@$(ECHO) "    Nonexistent filter and valid handler." >> $(RESULTFILE)	@cimsub -rs -n test/CimsubTestNS0 -F invalidFilter -H Handler01 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List an expired subscription." >> $(RESULTFILE)	@cimsub -ls -v -n test/CimsubTestNS0 -F Filter15 -H Handler15 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "Disable an expired subscription." >> $(RESULTFILE)	@cimsub -d -n test/CimsubTestNS0 -F Filter15 -H Handler15 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) "List an expired subscription." >> $(RESULTFILE)	@$(ECHO) "The subscription should have been removed." >> $(RESULTFILE)	@cimsub -ls -v -n test/CimsubTestNS0 -F Filter15 -H Handler15 >> $(RESULTFILE) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE)	@$(ECHO) ++++cimsub tests completedcimsubTestEmail:	@$(ECHO) ++++cimsub email handler tests	@$(ECHO)  +++++++++ Command line testing +++++++++ >> $(RESULTFILE_EMAIL)	@$(ECHO) "List PG_ListenerDestinationEmail handler with full handler path." >> $(RESULTFILE_EMAIL)	@cimsub -lh -H test/CimsubTestNS0:PG_ListenerDestinationEmail.EmailHandler01 >> $(RESULTFILE_EMAIL) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_EMAIL)	@$(ECHO) "List verbose PG_ListenerDestinationEmail handler with full handler path." >> $(RESULTFILE_EMAIL)	@cimsub -lh -v -H test/CimsubTestNS0:PG_ListenerDestinationEmail.EmailHandler01 >> $(RESULTFILE_EMAIL) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_EMAIL)	@$(ECHO) "List subscriptions with email handler." >> $(RESULTFILE_EMAIL)	@cimsub -ls -H test/CimsubTestNS0:PG_ListenerDestinationEmail.EmailHandler01 >> $(RESULTFILE_EMAIL) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_EMAIL)	@$(ECHO) "List verbose subscriptions with email handler." >> $(RESULTFILE_EMAIL)	@cimsub -ls -v -H test/CimsubTestNS0:PG_ListenerDestinationEmail.EmailHandler01 >> $(RESULTFILE_EMAIL) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_EMAIL)	@$(ECHO) "List all subscriptions." >> $(RESULTFILE_EMAIL)	@cimsub -ls >> $(RESULTFILE_EMAIL) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_EMAIL)	@$(ECHO) "List verbose all subscriptions." >> $(RESULTFILE_EMAIL)	@cimsub -ls -v >> $(RESULTFILE_EMAIL) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_EMAIL)	@$(STRIPCRS)	$(COMPARERESULTS)	@$(ECHO) ++++cimsub email handler tests completedcimsubTestSyslog:	@$(ECHO) ++++cimsub syslog handler tests	@$(ECHO)  +++++++++ Command line testing +++++++++ >> $(RESULTFILE_SYSLOG)	@$(ECHO) "List PG_ListenerDestinationSystemLog handler with full handler path." >> $(RESULTFILE_SYSLOG)	@cimsub -lh -H test/CimsubTestNS0:PG_ListenerDestinationSystemLog.SyslogHandler01 >> $(RESULTFILE_SYSLOG) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_SYSLOG)	@$(ECHO) "List verbose PG_ListenerDestinationSystemLog handler with full handler path." >> $(RESULTFILE_SYSLOG)	@cimsub -lh -v -H test/CimsubTestNS0:PG_ListenerDestinationSystemLog.SyslogHandler01 >> $(RESULTFILE_SYSLOG) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_SYSLOG)	@$(ECHO) "List subscriptions with syslog handler." >> $(RESULTFILE_SYSLOG)	@cimsub -ls -H test/CimsubTestNS0:PG_ListenerDestinationSystemLog.SyslogHandler01 >> $(RESULTFILE_SYSLOG) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_SYSLOG)	@$(ECHO) "List verbose subscriptions with syslog handler." >> $(RESULTFILE_SYSLOG)	@cimsub -ls -v -H test/CimsubTestNS0:PG_ListenerDestinationSystemLog.SyslogHandler01 >> $(RESULTFILE_SYSLOG) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_SYSLOG)	@$(ECHO) "List all subscriptions." >> $(RESULTFILE_SYSLOG)	@cimsub -ls >> $(RESULTFILE_SYSLOG) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_SYSLOG)	@$(ECHO) "List verbose all subscriptions." >> $(RESULTFILE_SYSLOG)	@cimsub -ls -v >> $(RESULTFILE_SYSLOG) $(REDIRECTERROR)	@$(ECHO) >> $(RESULTFILE_SYSLOG)	@$(STRIPCRS)	$(COMPARERESULTS)	@$(ECHO) ++++cimsub syslog handler tests completeddepend:general:strip-license:prepend-license:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -