Re: cvs: php-src /tests/lang comments.phpt

From: Date: Sun, 06 Jul 2008 16:08:45 +0000
Subject: Re: cvs: php-src /tests/lang comments.phpt
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-50833@lists.php.net to get a copy of this message
Hello Nuno, how about a unix specific test that invokes a php script as a shell command? We would need to create that file manually so that it points to the correct PHP executable (the one being tested) on the first line. #!< getenv('TEST_PHP_EXECUTABLE') > marcus Sunday, July 6, 2008, 5:40:39 PM, you wrote: > nlopess Sun Jul 6 15:40:39 2008 UTC > Modified files: > /php-src/tests/lang comments.phpt > Log: > add > > > http://cvs.php.net/viewvc.cgi/php-src/tests/lang/comments.phpt?r1=1.1&r2=1.2&diff_format=u > Index: php-src/tests/lang/comments.phpt > diff -u /dev/null php-src/tests/lang/comments.phpt:1.2 > --- /dev/null Sun Jul 6 15:40:39 2008 > +++ php-src/tests/lang/comments.phpt Sun Jul 6 15:40:39 2008 > @@ -0,0 +1,23 @@ > +--TEST-- > +#-style comments > +--FILE-- > +#teste > +#teste2 > +<?php > + > +#ahahah > +#ahhfhf > + > +echo '#ola'; //? > +echo "\n"; > +echo 'uhm # ah'; #ah? > +echo "\n"; > +echo "e este, # hein?"; > +echo "\n"; > + +?>> > +--EXPECTF-- > +#teste2 > +#ola > +uhm # ah > +e este, # hein? Best regards, Marcus

« previous php.cvs (#50833) next »