From: Jim Meyering Date: Tue, 6 Apr 2010 16:19:42 +0000 (+0200) Subject: tests: (portability) use st, not "status" as variable name X-Git-Tag: v1.5~82 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d09391240a38692849cb3dce672b68f6eb755b57;p=debian%2Fgzip tests: (portability) use st, not "status" as variable name * tests/zgrep-signal: Do not use status as a variable name, per autoconf's documentation that it is not portable to some shells. --- diff --git a/tests/zgrep-signal b/tests/zgrep-signal index 1b96237..d861a01 100644 --- a/tests/zgrep-signal +++ b/tests/zgrep-signal @@ -25,9 +25,8 @@ echo a | gzip -c > f.gz || framework_failure_ fail=0 -status=$(exec 3>&1; (zgrep a f.gz f.gz; echo $? >&3) | :) || - framework_failure_ +st=$(exec 3>&1; (zgrep a f.gz f.gz; echo $? >&3) | :) || framework_failure_ -test "$status" = 141 || fail=1 +test "$st" = 141 || fail=1 Exit $fail