I need to install simpletest libraries, and I'm justlocked at step 1:
1. Apply the D6-core-simpletest.patch file to the Drupal 6 core.
But where is the path o drupal 6 core folder?
I need to install simpletest libraries, and I'm justlocked at step 1:
1. Apply the D6-core-simpletest.patch file to the Drupal 6 core.
But where is the path o drupal 6 core folder?
Comments
Comment #1
boombatower commentedThe root of Drupal is where you should apply the patch from.
Comment #2
marthinal commentedPut on the root folder your .patch and then you open the terminal so.... go to the root in you terminal (d6 root) and then you have to put:
patch -p0 < filename.patch
maybe it can help you.i was triting the same during the day and like this is ok.
Good luck!
Comment #3
boombatower commentedPlease re-open if you still have problems.
Comment #5
volantis commentedHow do users with shared hosts run the patch if we cannot run from the command line?
Comment #6
boombatower commentedI don't know, manually apply? Not really sure that is something I can support or want to.
SimpleTest is a developer tool as isn't designed for production environments which are the places shared hosts usually exist.
Comment #7
matteoraggi commentedOk now I understand!It was easy: just need to patch this file:
/cvs/drupal/drupal/includes/bootstrap.inc
following instructions here:
D6-core-simpletest.patch
and if you don't know how to patch a file by hand , here are info about it:
http://drupal.org/node/19036 .
I don't want to patch the core of my drupal, I'll wait for now.
Comment #8
-bc- commentedI'm trying to do the SimpleTest patch. Its installed at the core, I run "patch -p0 --verbose D6-core-simpletest.patch" (I first did it without --verbose enabled) and it just seems to hang there. I have waited 10 minutes or so with no indication of anything happening. Any suggestions?
Thanks,
Bruce
Comment #9
boombatower commentedMake sure you use the latest patch from DRUPAL-6--2.
Comment #10
-bc- commentedyeah, got the latest but to be sure I just repeated the download and test. Maybe I don't understand the insulation instructions. It says "Apply the D6-core-simpletest.patch file to the Drupal 6 core". I opened the tar file in my drupal root directory (used -zxvpf options). I've then tried moving the simpletest.patch up to the core directory and running it there. I've also tried running it from the core directory in the simpletest directory e.g., patch -d0 ./simpletest/D6-core-simpletest.patch. Same results.
Any other thoughts? I have to be doing something wrong. Also, I'm doing this as user root.
Comment #11
boombatower commentedPer http://drupal.org/patch/apply try:
Comment #12
-bc- commentedduh the missing "<" I'm not spending enough time on Linux these days. I should of known that. Thank you very much.