function done( error, stdout, stderr ) {
		if ( error ) {
			t.fail( error.message );
		} else {
			t.strictEqual( stdout.toString(), '', 'expected value' );
			t.strictEqual( stderr.toString(), '', 'does not print to `stderr`' );
		}
		t.end();
	}
"\'; require( \''+fpath+'\' );"'
	];

	exec( cmd.join( ' ' ), done );

	function done( error, stdout, stderr ) {
		var results;
		var i;
		if ( error ) {
			t.pass( error.message );
			t.strictEqual( stdout.toString(), '', 'does not print to `stdout`' );

			results = stderr.toString().split( RE_EOL );
			t.strictEqual( results.length-1 > 3, true, 'returns expected number of errors' );
			for ( i = 0; i < results.length-1; i++ ) {
				t.strictEqual( isJSON( results[i] ), true, 'returns JSON' );
			}
			t.strictEqual( results[i], '', 'includes ending newline' );
		} else {
			t.fail( 'process should error' );
		}
		t.end();
	}
});

tape( 'the command-line interface supports providing a custom glob pattern', opts, function test( t ) {
	var cmd;
	var dir;

	dir = resolve( __dirname, 'fixtures', 'bad' );

	// The glob pattern should not match anything.
	cmd = [
		EXEC_PATH,
		'-e',
		'"process.stdin.isTTY = true; process.argv[ 2 ] = \''+dir+'\'; process.argv[ 3 ] = \'--pattern="*