#! /bin/sh ## version.test -- Test if pop3lite responds to --version -*- sh -*- ## Copyright (C) 2000, 2001 Gergely Nagy <8@free.bsd.hu> ## ## This file is part of POP3Lite. ## ## POP3Lite 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. ## ## POP3Lite 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 this program; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## ## $Id: version.test,v 1.5 2001/02/09 07:29:34 algernon Exp $ # Common definitions if test -z "$srcdir"; then srcdir=`echo "$0" | sed 's,[^/]*$,,'` test "$srcdir" = "$0" && srcdir=. test -z "$srcdir" && srcdir=. test "${VERBOSE+set}" != set && VERBOSE=1 fi . $srcdir/defs TEST_OK_LIST="$testname.ok $testname.debian.ok" cat >$testname.ok < POP3Lite comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of POP3Lite under the terms of the GNU General Public License, either version two, or any later version. For more information about these matters, see the file named COPYING. EOF cat >$testname.debian.ok < POP3Lite comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of POP3Lite under the terms of the GNU General Public License, either version two, or any later version. For more information see /usr/share/common-licenses/GPL. EOF PROG_CMDLINE="--version" . ${srcdir}/do-test