X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fbefore;h=04cbfdde156c1c383f6a2bcbd1e5074ce92a440b;hb=7287be445eec13d1c0a5c17136f56d8d9c9c3786;hp=8fdd612a5bd836c29f38c4b31c19df6267c42a5c;hpb=d584c1ed0faf06a4d612de9ee04ebe0edfa770a3;p=chaz%2Ftar diff --git a/tests/before b/tests/before index 8fdd612..04cbfdd 100755 --- a/tests/before +++ b/tests/before @@ -1,8 +1,27 @@ #! /bin/sh + # Do common operations before a particular test. +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 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) +# any later version. +# +# This program 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. + case $# in - 0) TAR_ARCHIVE_FORMATS=${TAR_ARCHIVE_FORMATS:-v7 oldgnu ustar posix gnu} + 0) TAR_ARCHIVE_FORMATS="${TAR_ARCHIVE_FORMATS:-v7 oldgnu ustar posix gnu}" for format in $TAR_ARCHIVE_FORMATS do $0 $format