X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fstar%2Fquicktest.sh;h=01b8e128069fd960711e6a70129acea0b4654ba7;hb=14d39a2c1491f6c719b1bcf85fb9ead6fb206008;hp=aba2f965731c7a2094d565f4de58c678010892d6;hpb=8d44c6b51ecf21dc5cd106caa8ea73ae1ad3f2eb;p=chaz%2Ftar diff --git a/tests/star/quicktest.sh b/tests/star/quicktest.sh index aba2f96..01b8e12 100755 --- a/tests/star/quicktest.sh +++ b/tests/star/quicktest.sh @@ -1,10 +1,10 @@ #! /bin/sh # This file is part of GNU tar testsuite. -# Copyright (C) 2004 Free Software Foundation, Inc. +# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. # # This program 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, or (at your option) +# the Free Software Foundation; either version 3, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, @@ -14,8 +14,15 @@ # # 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. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301, USA. + +PWD=`pwd` +P=`expr $0 : '\(.*\)/.*'` +DIR=`cd $P; pwd`/../../src +if [ -d $DIR ]; then + PATH=`cd $DIR;pwd`:$PATH +fi # Usage: quicktest FILELIST ARCHIVE-NAME quicktest() { @@ -75,6 +82,7 @@ check_environ() { echo "tartest not in your path" exit 77 fi + tar --version } getargs() {