# # Copyright (c) 2004-2007 - Consultas, PKG.fr # # This file is part of A2P. # # A2P is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # A2P is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with A2P; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # $Id: Defaults.pm 3 2007-10-18 16:20:19Z guillaume $ # use A2P::Globals ; sub info { print map { "# $_\n" } @_ ; } our $tie_file = "/tmp/test_tie_status.gdbm" ; our $test_string = '__TEST__'.$$ ; our $freezed = qr/^\x04(\x06|\x07)\x081234(5678)*\x04(\x04|\x08){2}\x08../ ; our $SERVICE_TMP = '/tmp' ; our $AFPSPOOL = '/tmp/afpspool-test' ; our $SHMDIR = '/dev/shm/.test' ; system "rm -rf $SHMDIR" if ( -d $SHMDIR and $SHMDIR =~ /shm/ ) ; mkdir $SHMDIR ; our $ADVANCED_DEBUGGING = 1 ; our $LOCKID = 'TEST' ; our $LOGFILENAME = '/tmp/a2p-debug.log' ; our $DEBUG_IN_FILE = 1 ; 1 ;