tests: fix typos in envvar-check script
authorJim Meyering <meyering@redhat.com>
Fri, 26 Mar 2010 15:46:23 +0000 (16:46 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 26 Mar 2010 15:49:48 +0000 (16:49 +0100)
* tests/envvar-check: Fix variable name typos.
Probably harmless, since no selected shell would fail to unset.

tests/envvar-check

index e31b94164113fdbc386352c78e6befed102acf03..1dee9afb11f8e92a931ba864b2fc11b63daf009d 100644 (file)
@@ -22,7 +22,7 @@ else
   as_unset=false
 fi
 
-envvar_check_failed=0
+envvar_check_fail=0
 vars='
   _POSIX2_VERSION
   BLOCKSIZE
@@ -49,7 +49,7 @@ do
   if eval test \"\${$var+set}\" = set; then
     echo "$0: the $var environment variable is set --" \
       ' unset it and rerun this test' >&2
-    envvar_check_failed=1
+    envvar_check_fail=1
   fi
 done