]> Dogcows Code - chaz/tar/blobdiff - tests/after
(gnulib_modules): Add getpagesize.
[chaz/tar] / tests / after
index 427b542293973dbd79f8d5d0f5fe955601824aee..7de077ff0784dbc6324383fff236851fb390cca0 100755 (executable)
@@ -1,6 +1,25 @@
 #! /bin/sh
+
 # Do common operations after 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.
+
 cd ..
 exec 1> /dev/null
 exec 2> /dev/null
@@ -18,7 +37,7 @@ compare() {
        mv ${tempfile}.1 ${tempfile}
     fi
     
-    if eval test -z "\${${1}_regex}" ; then
+    if eval test -z \"\${${1}_regex}\" ; then
        cmp -s ${tempfile}0 ${tempfile} || exit 1
     else
        awk '{print NR " " $0}' ${tempfile}0 > ${tempfile}.1
This page took 0.020365 seconds and 4 git commands to generate.