[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the patch. r84129 -- resolution: -> accepted status: open -> closed ___ Python tracker ___ __

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: The 3.x patches work fine for me under Mandriva Linux. -- nosy: +pitrou ___ Python tracker ___ ___ P

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-12 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file18491/add-errno-check-3.x.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-12 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file18490/add-errno-check-2.x.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-12 Thread David Watson
David Watson added the comment: OK, these patches work on FreeBSD 5.3 (root and non-root) if you want to check the errno. I don't know what other systems might return though. I did also find that the 2.x tests were failing on cleanup because the test class used os.unlink rather than support

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-12 Thread David Watson
David Watson added the comment: I'm not quite sure what you mean, but the man page for FreeBSD 5.3 specifies EPERM for an unprivileged user and EINVAL for an attempt to create something other than a device node. POSIX requires creating a FIFO to work for any user, and just says that EINVAL i

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: Can you qualify the OSError except by checking it's errno? -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-11 Thread David Watson
Changes by David Watson : Added file: http://bugs.python.org/file18479/test-mknod-mkfifo-2.x.diff ___ Python tracker ___ ___ Python-bugs-list m

[issue9569] Add tests for posix.mknod() and posix.mkfifo()

2010-08-11 Thread David Watson
New submission from David Watson : Attaching simple tests for these functions, which aren't currently tested. -- components: Extension Modules files: test-mknod-mkfifo-3.x.diff keywords: patch messages: 113609 nosy: baikie priority: normal severity: normal status: open title: Add tests f