Simple addition to check that a file is a file before we try to upload it. At least on OS X trying to upload a directory results in problems.
Some other trailing whitespace cleanups got rolled in by my editor.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | simpletest_304940.patch | 1.13 KB | drewish |
| #1 | simpletest_real_files.patch | 832 bytes | boombatower |
| simpletest_real_files.patch | 2.56 KB | drewish |
Comments
Comment #1
boombatower commentedI removed white-space clean-up since that is in several other patches and the rework patch should make in soon (#305077: Rework simpletest backend).
The upload test doesn't pass with this applied.
Comment #2
drewish commentedah, seems like the order of operations was getting wacky. this passes all the uploading (upload.module, blogapi.module, user.module) tests.
Comment #3
drewish commentedsimple fix... still applies.
Comment #4
webchickCommitted to HEAD. Thanks!