summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
Commit message (Collapse)AuthorAgeFilesLines
* #17076: Make copying of xattrs more permissive of missing FS supportHynek Schlawack2013-02-051-0/+11
|\ | | | | | | Patch by Thomas Wouters.
| * #17076: Make copying of xattrs more permissive of missing FS supportHynek Schlawack2013-02-051-0/+11
| | | | | | | | Patch by Thomas Wouters.
* | Fix pathext test for shutil.which() which wasSerhiy Storchaka2013-01-241-1/+1
|\ \ | |/ | | | | broken after applying the patch for issue #16957.
| * Fix pathext test for shutil.which() which wasSerhiy Storchaka2013-01-241-1/+1
| | | | | | | | broken after applying the patch for issue #16957.
* | Issue #16957: shutil.which() no longer searches a bare file name in theSerhiy Storchaka2013-01-231-8/+29
|\ \ | |/ | | | | | | current directory on Unix and no longer searches a relative file path with a directory part in PATH directories. Patch by Thomas Kluyver.
| * Issue #16957: shutil.which() no longer searches a bare file name in theSerhiy Storchaka2013-01-231-8/+29
| | | | | | | | | | current directory on Unix and no longer searches a relative file path with a directory part in PATH directories. Patch by Thomas Kluyver.
* | Fix shutil.which() test for issue #16993.Serhiy Storchaka2013-01-221-1/+1
|\ \ | |/
| * Fix shutil.which() test for issue #16993.Serhiy Storchaka2013-01-221-1/+1
| |
* | Issue #16993: shutil.which() now preserves the case of the path and extensionSerhiy Storchaka2013-01-211-3/+4
|\ \ | |/ | | | | on Windows.
| * Issue #16993: shutil.which() now preserves the case of the path and extensionSerhiy Storchaka2013-01-211-3/+4
| | | | | | | | on Windows.
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-7/+7
| |
* | #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-7/+7
|\ \ | |/ | | | | | | | | Turns out, the snakebite bots have also their peculiarities. I'm really not proud of this stream of commits. :(
| * #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-7/+7
| |\ | | | | | | | | | | | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
| | * #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-8/+7
| | | | | | | | | | | | | | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
* | | #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-3/+7
|\ \ \ | |/ / | | | | | | The Windows buildbots seem to be unable to agree whether they need them or not.
| * | #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-1/+1
| |\ \ | | |/ | | | | | | The Windows buildbots seem to be unable to agree whether they need them or not.
| | * #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-1/+1
| | | | | | | | | | | | The Windows buildbots seem to be unable to agree whether they need them or not.
* | | #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-5/+1
|\ \ \ | |/ / | | | | | | | | | This one is different from 3.2 and 3.3. Windows ceased using *.* since 3.4 apparently.
| * | #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-2/+2
| |\ \ | | |/
| | * #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-2/+2
| | |
* | | #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
|\ \ \ | |/ /
| * | #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
| |\ \ | | |/
| | * #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
| | |
* | | #15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-1/+37
|\ \ \ | |/ / | | | | | | | | | | | | It caused rmtree to not ignore certain errors when ignore_errors was set. Patch by Alessandro Moura and Serhiy Storchaka.
| * | #15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-1/+37
| |\ \ | | |/ | | | | | | | | | | | | It caused rmtree to not ignore certain errors when ignore_errors was set. Patch by Alessandro Moura and Serhiy Storchaka.
| | * #15872: Add tests for a 3.3 regression in the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-0/+46
| | | | | | | | | | | | | | | It cause shutil.rmtree not ignore all errors. Also add a test ensuring that rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
| | * Issue #14662: Prevent shutil failures on OS X when destination does notNed Deily2012-05-111-0/+30
| | | | | | | | | | | | support chflag operations. (Patch by Hynek Schlawack)
* | | #1492704: Ensure and document backward compatibility of the changeHynek Schlawack2012-10-281-0/+2
| | |
* | | Closes #1492704: Make shutil.copyfile() raise a distinct SameFileErrorHynek Schlawack2012-10-071-3/+12
|/ / | | | | | | Patch by Atsuo Ishimoto.
* | #1492704: Backout and wait for 3.4Hynek Schlawack2012-07-191-12/+3
| |
* | #1492704: Make shutil.copyfile() raise a distinct SameFileErrorHynek Schlawack2012-07-191-3/+12
| | | | | | | | Patch by Atsuo Ishimoto.
* | #15238: Fix xattr related shutil.copystat testsHynek Schlawack2012-07-161-2/+1
| | | | | | | | | | | | | | - Loosen up test as Fedora has implicit xattrs - Actually test the destination for xattrs Should make Fedora buildbot green again.
* | Issue #15202: Consistently use the name "follow_symlinks" forLarry Hastings2012-07-151-14/+14
| | | | | | | | new parameters in os and shutil functions. Patch by Serhiy Storchaka.
* | - Issue #15238: shutil.copystat now copies Linux "extended attributes".Larry Hastings2012-07-151-0/+10
| |
* | Check for all used fd-based functions in shutil.rmdir, closes #15218Hynek Schlawack2012-06-291-1/+5
| |
* | #4489: Don't follow ever symlinks in rmtreeHynek Schlawack2012-06-281-1/+33
| | | | | | | | Also added several regression tests.
* | Issue #15817: Bugfix: remove temporary directories test_shutil was leavingLarry Hastings2012-06-261-0/+3
| | | | | | | | behind.
* | #4489 Make fd based rmtree work on bytesHynek Schlawack2012-06-251-0/+9
| |
* | Remove debug output from test_shutilHynek Schlawack2012-06-241-2/+0
| |
* | Issue #4489: Rename the feature marker for the symlink resistant rmtree and ↵Nick Coghlan2012-06-241-2/+2
| | | | | | | | store it as a function attribute
* | Avoid depending on directory iteration order in test_shutilAntoine Pitrou2012-06-231-6/+5
| |
* | Add debug output to test_shutilAntoine Pitrou2012-06-231-0/+2
| |
* | Proper cleanup in test_shutil, even in case of error.Antoine Pitrou2012-06-231-8/+6
| |
* | #4489: Fix usage of fd-based functions to new api introduced earlier todayHynek Schlawack2012-06-231-2/+21
| | | | | | | | | | | | | | | | Also add an explicit test for safe implementation usage on supported platforms. As a side effect, this commit adds a module-level attribute 'rmtree_is_safe' which offers introspection whether the current rmtree implementation is safe against symlink attacks.
* | #4489: Add a shutil.rmtree that isn't suspectible to symlink attacksHynek Schlawack2012-06-231-18/+45
| | | | | | | | | | It is used automatically on platforms supporting the necessary os.openat() and os.unlinkat() functions. Main code by Martin von Löwis.
* | Issue #14626: Fix buildbot issues on FreeBSD (AMD64). (Fingers crossed.)Larry Hastings2012-06-231-1/+1
| |
* | Issue #14626: Large refactoring of functions / parameters in the os module.Larry Hastings2012-06-221-6/+6
| | | | | | | | | | | | | | | | | | Many functions now support "dir_fd" and "follow_symlinks" parameters; some also support accepting an open file descriptor in place of of a path string. Added os.support_* collections as LBYL helpers. Removed many functions only previously seen in 3.3 alpha releases (often starting with "f" or "l", or ending with "at"). Originally suggested by Serhiy Storchaka; implemented by Larry Hastings.
* | Issue #444582: shutil.which() respects relative paths.Antoine Pitrou2012-06-221-0/+10
| |
* | Fix #444582. Add shutil.which function for finding programs on the system path.Brian Curtin2012-06-221-1/+44
| |
* | Fix #14772: Return the destination from some shutil functions.Brian Curtin2012-06-181-0/+41
| |