]> git.gag.com Git - debian/gzip/commitdiff
tests: (portability) use st, not "status" as variable name
authorJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 16:19:42 +0000 (18:19 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 6 Apr 2010 16:28:58 +0000 (18:28 +0200)
* tests/zgrep-signal: Do not use status as a variable name,
per autoconf's documentation that it is not portable to
some shells.

tests/zgrep-signal

index 1b96237cf0f8b1a8b3a04108db1a7b4a484975c4..d861a01695f5aaabf62178fdb469bdd4d97ee474 100644 (file)
@@ -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