Message134702
Aha ! Fixed ! : patch :
[ root@jvdspc:/mnt/sda3/Python-2.7 18:02:22 1685:1178 ]
$ LD_LIBRARY_PATH=`pwd` LD_PRELINK=`pwd`/libpython2.7.so.1.0 ./python /tmp/test_commands.py
test_getoutput (__main__.CommandTests) ... ok
test_getstatus (__main__.CommandTests) ... ok
----------------------------------------------------------------------
Ran 2 tests in 0.068s
OK
[ root@jvdspc:/mnt/sda3/Python-2.7 18:03:34 1686:1179 ]
$ diff -U0 /usr/src/Python-2.7/Lib/test/test_commands.py /tmp/test_commands.py
--- /usr/src/Python-2.7/Lib/test/test_commands.py 2010-03-31 23:01:03.000000000 +0100
+++ /tmp/test_commands.py 2011-04-28 18:03:27.821395320 +0100
@@ -27,2 +27,2 @@
- self.assertEquals(commands.getoutput('echo xyzzy'), 'xyzzy')
- self.assertEquals(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy'))
+ self.assertEqual(commands.getoutput('echo xyzzy'), 'xyzzy')
+ self.assertEqual(commands.getstatusoutput('echo xyzzy'), (0, 'xyzzy'))
@@ -39 +39 @@
- self.assertNotEquals(status, 0)
+ self.assertNotEqual(status, 0)
@@ -52,5 +52 @@
- pat = r'''d......... # It is a directory.
- \+? # It may have ACLs.
- \s+\d+ # It has some number of links.
- [^/]* # Skip user, group, size, and date.
- /\. # and end with the name of the file.
+ pat = r'''^.*(\/\.)[\ ]*[\n\r]*$ |
|
Date |
User |
Action |
Args |
2011-04-28 17:04:55 | Jason.Vas.Dias | set | recipients:
+ Jason.Vas.Dias, r.david.murray |
2011-04-28 17:04:55 | Jason.Vas.Dias | set | messageid: <1304010295.12.0.714790591277.issue11946@psf.upfronthosting.co.za> |
2011-04-28 17:04:54 | Jason.Vas.Dias | link | issue11946 messages |
2011-04-28 17:04:54 | Jason.Vas.Dias | create | |
|