# [PATCH] tests/classes/factory_and_singleton_010.phpt

- Thread: https://externals.io/message/11459
- Original archive: https://news-web.php.net/php.internals/11459
- Started by Kamesh Jayachandran on 2004-07-22T07:25:19+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #11459 — Kamesh Jayachandran — 2004-07-22T07:25:19+00:00

URL: https://externals.io/message/11459#11459

Hi All,
I had the tests/classes/factory_and_singleton_010.phpt testcase failing
in Linux, NetWare, Windows ports of PHP.
And found that this failure is due to one extra line.

Attached the patch.

With regards
Kamesh Jayachandran

---

## #11475 — Marcus Boerger — 2004-07-22T18:47:31+00:00

URL: https://externals.io/message/11459#11475 · In reply to: #11459

Hello Kamesh,

 can you adapt you test files to ouput a single line before the actual
script starts by using 'echo "*\n";' for example and see if you get
a blank line in the output then?

I checked all testfiles again and they all PASS for me pretty fine. And
in all the qa reports we got so far there was never such a problem as you
mentioned.

regards
marcus
 
Thursday, July 22, 2004, 9:25:19 AM, you wrote:

> Hi All,
> I had the tests/classes/factory_and_singleton_010.phpt testcase failing
> in Linux, NetWare, Windows ports of PHP.
> And found that this failure is due to one extra line.

> Attached the patch.

> With regards
> Kamesh Jayachandran 



-- 
Best regards,
 Marcus                            mailto:helly@php.net

---

## #11544 — Kamesh Jayachandran — 2004-07-24T16:10:56+00:00

URL: https://externals.io/message/11459#11544 · In reply to: #11475

Hello Marcus,
On Thu, 22 Jul 2004 20:47:31 +0200, "Marcus Boerger" <helly@php.net>
said:
> Hello Kamesh,
> 
>  can you adapt you test files to ouput a single line before the actual
> script starts by using 'echo "*\n";' for example and see if you get
> a blank line in the output then?
> 
I did not get what you mean by this.
Do you want me to go to each test case and add echo '\n'; as the first
executable statement?
How it will help?

With regards
Kamesh Jayachandran
> I checked all testfiles again and they all PASS for me pretty fine. And
> in all the qa reports we got so far there was never such a problem as you
> mentioned.
> 
> regards
> marcus
>  
> Thursday, July 22, 2004, 9:25:19 AM, you wrote:
> 
> > […]
> 
> > […]
> 
> > […]
> 
> 
> 
> -- 
> Best regards,
>  Marcus                            mailto:helly@php.net

---

## #11553 — Marcus Boerger — 2004-07-25T06:21:38+00:00

URL: https://externals.io/message/11459#11553 · In reply to: #11544

Hello Kamesh,

Saturday, July 24, 2004, 6:10:56 PM, you wrote:

> Hello Marcus,
> On Thu, 22 Jul 2004 20:47:31 +0200, "Marcus Boerger" <helly@php.net>
> said:
> > […]
> I did not get what you mean by this.
> Do you want me to go to each test case and add echo '\n'; as the first
> executable statement?

yes but echo "*\n" would be easier to track

> How it will help?

It won't help i simply want to see what you get then.

regards
marcus

---

## #11564 — Kamesh Jayachandran — 2004-07-26T07:12:56+00:00

URL: https://externals.io/message/11459#11564 · In reply to: #11553

Hello Marcus,
I am attaching my test log file after adding echo "*\n"; as the first
executable statment.

With regards
Kamesh Jayachandran
On Sun, 25 Jul 2004 08:21:38 +0200, "Marcus Boerger" <helly@php.net>
said:
> Hello Kamesh,
> 
> Saturday, July 24, 2004, 6:10:56 PM, you wrote:
> 
> > […]
> 
> yes but echo "*\n" would be easier to track
> 
> > […]
> 
> It won't help i simply want to see what you get then.
> 
> regards
> marcus
