Commits

Anonymous committed b6fefbb

* Renamed the suite from *_All.php to *.php so the glob() would not include itself and run an infinite loop.

Comments (0)

Files changed (2)

Trunk/Tests/Functional/test_HgConstructor.php

+<?php
+
+include_once '../../VersionControl/Hg.php';
+$base_path = "./";
+
+$includes = glob($base_path . DIRECTORY_SEPARATOR . "test_HgConstructor_*.php");
+
+foreach ($includes as $test) {
+    include $test; //code runs automatically
+}

Trunk/Tests/Functional/test_HgConstructor_All.php

-<?php
-
-include_once '../../VersionControl/Hg.php';
-$base_path = "./";
-
-$includes = glob($base_path . DIRECTORY_SEPARATOR . "test_HgConstructor_*.php");
-
-foreach ($includes as $test) {
-    include $test; //code runs automatically
-}