[csw-devel] SF.net SVN: gar:[17545] csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Mar 25 19:40:49 CEST 2012


Revision: 17545
          http://gar.svn.sourceforge.net/gar/?rev=17545&view=rev
Author:   wahwah
Date:     2012-03-25 17:40:49 +0000 (Sun, 25 Mar 2012)
Log Message:
-----------
checkpkg: MakePackageNameBySoname unit test fix

The function did the right thing, the test data were wrong.

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py

Modified: csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py
===================================================================
--- csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py	2012-03-25 07:52:20 UTC (rev 17544)
+++ csw/mgar/gar/v2/lib/python/sharedlib_utils_test.py	2012-03-25 17:40:49 UTC (rev 17545)
@@ -182,7 +182,7 @@
     path = "/opt/csw/gxx/lib"
     expected = (
         ["CSWlibfoo0-gxx"],
-        ["libfoo0-gxx"],
+        ["libfoo0_gxx"],
     )
     self.assertEqual(expected, su.MakePackageNameBySoname(soname, path))
 
@@ -191,7 +191,7 @@
     path = "/opt/csw/gxx/lib/sparcv9"
     expected = (
         ["CSWlibfoo0-gxx"],
-        ["libfoo0-gxx"],
+        ["libfoo0_gxx"],
     )
     self.assertEqual(expected, su.MakePackageNameBySoname(soname, path))
 

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