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

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Postponed (maintainer needs more info)

The root of Drupal is where you should apply the patch from.

marthinal’s picture

Put 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!

boombatower’s picture

Status: Postponed (maintainer needs more info) » Fixed

Please re-open if you still have problems.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

volantis’s picture

How do users with shared hosts run the patch if we cannot run from the command line?

boombatower’s picture

I 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.

matteoraggi’s picture

Ok 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.

-bc-’s picture

Title: Drupal 6 core: where is the core folder path of drupal 6? » patch seems to hang

I'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

boombatower’s picture

Make sure you use the latest patch from DRUPAL-6--2.

-bc-’s picture

yeah, 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.

boombatower’s picture

Per http://drupal.org/patch/apply try:

patch -p0 < D6-core-simpletest.patch
-bc-’s picture

duh the missing "<" I'm not spending enough time on Linux these days. I should of known that. Thank you very much.