diff options
Diffstat (limited to 'jstests/disk/directoryperdb.js')
-rw-r--r-- | jstests/disk/directoryperdb.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/disk/directoryperdb.js b/jstests/disk/directoryperdb.js index 3b65bd0..c29dea0 100644 --- a/jstests/disk/directoryperdb.js +++ b/jstests/disk/directoryperdb.js @@ -22,6 +22,8 @@ checkDir = function( dir ) { files = listFiles( dir + baseName ); for( f in files ) { + if ( files[f].isDirectory ) + continue; assert( new RegExp( baseName + "/" + baseName + "." ).test( files[ f ].name ) , "B dir:" + dir + " f: " + f ); } } |