From aea763de7a89979bd258917f678436d93d295161 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sun, 12 Aug 2012 13:44:54 +0000
Subject: [PATCH] Poprawienie błędnych parametrów przekazywanych do metody httpQuery() w funkcjach obrazkowych.

---
 test.php |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/test.php b/test.php
index e319dc1..3f846ea 100644
--- a/test.php
+++ b/test.php
@@ -22,6 +22,8 @@
 test('magic_quotes_gpc = Off', (get_magic_quotes_gpc() == 0));
 test('allow_url_fopen = On', (ini_get('allow_url_fopen') == 1));
 test('setlocale(pl_PL.UTF8)', setlocale(LC_CTYPE, 'pl_PL.UTF8', 'pl_PL', 'polish', 'plk'));
+test('proc_open(\'aspell\')', ($p=@proc_open('aspell', array(array('pipe', 'r'), array('pipe', 'w'), array('file', '/dev/null', 'w')), $pipe)) !== FALSE);
+@proc_close($p);
 
 echo '<tr> <th class="head" colspan="2">Rozszerzenia PHP</th> </tr>
 ';
@@ -49,7 +51,7 @@
 testdir('./data/rss');
 testdir('./data/tv');
 testdir('./data/tv/cache');
-testdir('./db');
+test('./db', !is_dir('./db') || is_writable('./db'));
 if(is_dir('./database')) {
 	testdir('./database');
 }

--
Gitblit v1.9.1