Back to index

wims  3.65+svn20090927
test.c
Go to the documentation of this file.
00001 /*    Copyright (C) 1998 XIAO, Gang of Universite de Nice - Sophia Antipolis
00002  *
00003  *  This program is free software; you can redistribute it and/or modify
00004  *  it under the terms of the GNU General Public License as published by
00005  *  the Free Software Foundation; either version 2 of the License, or
00006  *  (at your option) any later version.
00007  *
00008  *  This program is distributed in the hope that it will be useful,
00009  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00010  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00011  *  GNU General Public License for more details.
00012  *
00013  *  You should have received a copy of the GNU General Public License
00014  *  along with this program; if not, write to the Free Software
00015  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00016  */
00017 
00018        /* Testing file for wims.
00019         * It contains a routine exec_test() for testing 
00020         * purposes during development. Not documented, and don't
00021         * touch this in usual modules. */
00022 
00023        /* No automatic substitution is done when this 
00024         * routine is called. */
00025 void exec_test(char *p)
00026 {
00027     if(!trusted_module()) module_error("not_trusted");
00028 }
00029