test: rename $satisfied to $satisfied_prereq

All other shell variables that are used to globally keep track of states related to prerequisite have "prereq" somewhere in their names. Be consistent and avoid potential name crashes with other kinds of satisfaction in the future. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jul 26, 2012 at 13:57 UTC f3cfc3b27168a085d4ca7ab5801814c4f419b54d
1 file changed +3 -3
t/test-lib-functions.sh
+3 -3
@@ -221,9 +221,9 @@ write_script () {
221 # capital letters by convention).
222
223 test_set_prereq () {
224 - satisfied="$satisfied$1 "
224 + satisfied_prereq="$satisfied_prereq$1 "
225 }
226 -satisfied=" "
226 +satisfied_prereq=" "
227
228 test_have_prereq () {
229 # prerequisites can be concatenated with ','
@@ -239,7 +239,7 @@ test_have_prereq () {
239 for prerequisite
240 do
241 total_prereq=$(($total_prereq + 1))
242 - case $satisfied in
242 + case "$satisfied_prereq" in
243 *" $prerequisite "*)
244 ok_prereq=$(($ok_prereq + 1))
245 ;;