Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Repository / SharedLibrary.py
index 697e6ae095ff4ce2b038d63747af202d54ce8059..51142aa923d99f08b24db68d1323dd5c1042feef 100644 (file)
@@ -30,10 +30,8 @@ object files built in a repository.
 """
 
 import os
-import string
 import sys
 
-import TestCmd
 import TestSCons
 
 test = TestSCons.TestSCons()
@@ -116,10 +114,16 @@ if os.name == 'posix':
         os.environ['DYLD_LIBRARY_PATH'] = test.workpath('work')
     else:
         os.environ['LD_LIBRARY_PATH'] = test.workpath('work')
-if string.find(sys.platform, 'irix') != -1:
+if sys.platform.find('irix') != -1:
     os.environ['LD_LIBRARYN32_PATH'] = test.workpath('work')
 
 test.run(program = test.workpath('work', 'prog'),
          stdout = "f1.c\nf2.c\nf3.c\nprog.c\n")
 
 test.pass_test()
+
+# Local Variables:
+# tab-width:4
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=4 shiftwidth=4: