BUG#: 1405
[tpot/pegasus/.git] / Testcimmof
1 include $(PEGASUS_ROOT)/mak/config.mak
2 include $(PEGASUS_ROOT)/mak/test.mak
3
4 SCHEMA_VER=25
5 SCHEMA_DIR=CIM$(SCHEMA_VER)
6 MOF_PATH = $(ROOT)/Schemas/$(SCHEMA_DIR)
7
8 NAMESPACE=root/cimv2
9
10 clean:
11         @rm -Rf $(REPOSITORY_DIR)/repository.old
12         @rm -Rf $(REPOSITORY_DIR)/repository
13         @rm -Rf repository.log
14
15 poststarttests:
16         $(CIMSERVER_STOP_SERVICE)
17         @rm -Rf $(REPOSITORY_DIR)/repository.old
18         @rm -Rf $(REPOSITORY_DIR)/repository
19         @rm -Rf repository.log
20         @ echo $(MOF_PATH)
21         $(MAKE) repository
22         @mv $(REPOSITORY_DIR)/repository $(REPOSITORY_DIR)/repository.old
23         $(CIMSERVER_START_SERVICE)
24         @sleep 5 
25         @ echo $(MOF_PATH)
26         $(MAKE) repositoryServer
27         @ ./diffscript $(REPOSITORY_DIR) root#cimv2/classes
28         @ ./diffscript $(REPOSITORY_DIR) root#PG_Internal/classes
29         @ ./diffscript $(REPOSITORY_DIR) root#PG_InterOp/classes
30