]> granicus.if.org Git - php/commitdiff
MFH: fix tests
authorAntony Dovgal <tony2001@php.net>
Sat, 11 Aug 2007 22:18:45 +0000 (22:18 +0000)
committerAntony Dovgal <tony2001@php.net>
Sat, 11 Aug 2007 22:18:45 +0000 (22:18 +0000)
ext/standard/tests/file/fscanf_variation33.phpt
ext/standard/tests/file/fscanf_variation34.phpt
ext/standard/tests/file/fscanf_variation40.phpt
ext/standard/tests/file/fscanf_variation9.phpt

index 2f0afd0b3295bb99fef7cce5613fc909b323f4de..6c788b13f7314956875a2c6d9866cf2465355456 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test fscanf() function: usage variations - hexa formats with integer values 
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE != 4) {
+       die("skip this test is for 32bit platform only");
+}
+?>
 --FILE--
 <?php
 
index 8a17bc26bce707cace58d20342957e1f9d1aea78..b3f9c72f07b5180534338918d4ae5e0b37bac546 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test fscanf() function: usage variations - hexa formats with float values
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE != 4) {
+       die("skip this test is for 32bit platform only");
+}
+?>
 --FILE--
 <?php
 
index 31cfbfe44244e4809656f4152d0545f63903ea86..5d8770166aa9c5b75359217a4291f75fcdbb5219 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test fscanf() function: usage variations - unsigned formats with float values
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE != 4) {
+       die("skip this test is for 32bit platform only");
+}
+?>
 --FILE--
 <?php
 
index 1a193d323844fd9579b6de3996ccecd1f8e8525d..6cea00aad82f7db5be82e2288f6ef1e99c1c9f21 100644 (file)
@@ -1,5 +1,11 @@
 --TEST--
 Test fscanf() function: usage variations - float formats with integer values
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE != 4) {
+       die("skip this test is for 32bit platform only");
+}
+?>
 --FILE--
 <?php