[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Fix bug when running "mixminion unittests" with umask 077



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv4899/lib/mixminion

Modified Files:
	test.py 
Log Message:
Fix bug when running "mixminion unittests" with umask 077

Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.195
retrieving revision 1.196
diff -u -d -r1.195 -r1.196
--- test.py	2 May 2004 18:45:16 -0000	1.195
+++ test.py	5 May 2004 02:04:48 -0000	1.196
@@ -3550,6 +3550,7 @@
         os.mkdir(dir, 0700)
         subdir = os.path.join(dir, "subdir")
         os.mkdir(subdir, 0777)
+        os.chmod(subdir, 0777) # in case umask is set.
 
         # File doesn't exist.
         self.failUnlessRaises(MixFatalError,