From 37660519cbc3ea19f25f86394cf7fdd28d55dc71 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Mon, 17 Mar 2008 16:32:15 +0000 Subject: [PATCH] fix tests (removed duplicated stuff) --- sapi/cli/tests/016.phpt | 105 --------------------------------------- sapi/cli/tests/017.phpt | 106 ---------------------------------------- 2 files changed, 211 deletions(-) diff --git a/sapi/cli/tests/016.phpt b/sapi/cli/tests/016.phpt index 937ff62ccd..0b90844f37 100644 --- a/sapi/cli/tests/016.phpt +++ b/sapi/cli/tests/016.phpt @@ -103,108 +103,3 @@ php > php { php { php > I was called! php > Done ---TEST-- -CLI -a and readline ---SKIPIF-- - ---FILE-- - $code) { - echo "\n--------------\nSnippet no. $key:\n--------------\n"; - $code = escapeshellarg($code); - echo `echo $code | "$php" -a`, "\n"; -} - -echo "\nDone\n"; -?> ---EXPECTF-- --------------- -Snippet no. 1: --------------- -Interactive shell - -php > Hello world -php > - --------------- -Snippet no. 2: --------------- -Interactive shell - -php > php ' php ' multine -single -quote -php > - --------------- -Snippet no. 3: --------------- -Interactive shell - -php > <<< > <<< > <<< > <<< > <<< > Here -comes -the -doc -php > - --------------- -Snippet no. 4: --------------- -Interactive shell - -php > php { php { php > Done -php > - --------------- -Snippet no. 5: --------------- -Interactive shell - -php > php { php { php > I was called! -php > - -Done diff --git a/sapi/cli/tests/017.phpt b/sapi/cli/tests/017.phpt index c8c7d5e445..efaf977db4 100644 --- a/sapi/cli/tests/017.phpt +++ b/sapi/cli/tests/017.phpt @@ -103,110 +103,4 @@ Interactive shell Parse error: syntax error, unexpected ')' in php shell code on line 1 -Done ---TEST-- -CLI -a and libedit ---SKIPIF-- - ---FILE-- - $code) { - echo "\n--------------\nSnippet no. $key:\n--------------\n"; - $code = escapeshellarg($code); - echo `echo $code | "$php" -a`, "\n"; -} - -echo "\nDone\n"; -?> ---EXPECTF-- --------------- -Snippet no. 1: --------------- -Interactive shell - -Hello world - - --------------- -Snippet no. 2: --------------- -Interactive shell - -multine -single -quote - - --------------- -Snippet no. 3: --------------- -Interactive shell - -Here -comes -the -doc - - --------------- -Snippet no. 4: --------------- -Interactive shell - -Done - - --------------- -Snippet no. 5: --------------- -Interactive shell - - -Parse error: syntax error, unexpected ')' in php shell code on line 1 - - Done -- 2.50.1