1--TEST--
2PEAR_PackageFileManager_File->dirList, source base directory doesn't exist
3--SKIPIF--
4--FILE--
5<?php
6require_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'setup.php.inc';
7$res = $pfm->dirList('fargusblurbe[]--#/"');
8$phpunit->assertErrors(
9    array('package' => 'PEAR_Error', 'message' =>
10    'PEAR_PackageFileManager_Plugins Error: Package source base directory ' .
11    '"fargusblurbe[]--#/"" doesn\'t exist or isn\'t a directory')
12, 'error'
13);
14$phpunit->assertIsa('PEAR_Error', $res, 'no error');
15echo 'tests done';
16?>
17--EXPECT--
18tests done