From d09391240a38692849cb3dce672b68f6eb755b57 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 6 Apr 2010 18:19:42 +0200 Subject: [PATCH] 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. --- tests/zgrep-signal | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.47.2