[csw-devel] SF.net SVN: gar:[8041] csw/mgar/gar/v2/bin

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Jan 17 14:31:38 CET 2010


Revision: 8041
          http://gar.svn.sourceforge.net/gar/?rev=8041&view=rev
Author:   wahwah
Date:     2010-01-17 13:31:38 +0000 (Sun, 17 Jan 2010)

Log Message:
-----------
mGAR v2: checkpkg - displaying the information about building the cache

Modified Paths:
--------------
    csw/mgar/gar/v2/bin/checkpkg

Added Paths:
-----------
    csw/mgar/gar/v2/bin/checkpkg.d/update_contents_cache.py

Modified: csw/mgar/gar/v2/bin/checkpkg
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg	2010-01-17 12:00:34 UTC (rev 8040)
+++ csw/mgar/gar/v2/bin/checkpkg	2010-01-17 13:31:38 UTC (rev 8041)
@@ -552,15 +552,17 @@
 
 # All packages have been extracted.
 
-# Now running all the plugin checks
-
 set_variables_for_individual_package_check "$f"
 
-echo "Running the experimental plugin infrastructure."
+echo "Running modular tests"
 test_suite_ok=1
 checkpkg_scriptname=`basename $0`
 checkpkg_basedir=${0%/${checkpkg_scriptname}}
 plugindir=${checkpkg_basedir}/checkpkg.d
+
+# /var/sadm/install/contents cache update
+${plugindir}/update_contents_cache.py
+
 if [[ "${DEBUG}" != "" ]]; then
 	extra_options="--debug"
 fi
@@ -603,7 +605,7 @@
 echo
 
 if [[ ${test_suite_ok} -ne 1 ]]; then
-	errmsg "One or more tests have failed."
+	errmsg "One or more modular tests have failed."
 else
 	print "All tests were successful."
 fi

Added: csw/mgar/gar/v2/bin/checkpkg.d/update_contents_cache.py
===================================================================
--- csw/mgar/gar/v2/bin/checkpkg.d/update_contents_cache.py	                        (rev 0)
+++ csw/mgar/gar/v2/bin/checkpkg.d/update_contents_cache.py	2010-01-17 13:31:38 UTC (rev 8041)
@@ -0,0 +1,10 @@
+#!/opt/csw/bin/python2.6
+
+import checkpkg
+
+def main():
+  test_pkgmap = checkpkg.SystemPkgmap()
+
+
+if __name__ == '__main__':
+	main()


Property changes on: csw/mgar/gar/v2/bin/checkpkg.d/update_contents_cache.py
___________________________________________________________________
Added: svn:executable
   + *


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list