Whamcloud - gitweb
b=16165
authorgrev <grev>
Wed, 25 Jun 2008 19:56:57 +0000 (19:56 +0000)
committergrev <grev>
Wed, 25 Jun 2008 19:56:57 +0000 (19:56 +0000)
i=Jian.Yu
localize TYPE

lustre/tests/test-framework.sh

index a9992f8..22398ef 100644 (file)
@@ -1417,7 +1417,7 @@ error_exit() {
 # (like ALWAYS_EXCEPT, but run the test and ignore the results.)
 # e.g. error_ignore 5494 "your message"
 error_ignore() {
-    TYPE="IGNORE (bz$1)"
+    local TYPE="IGNORE (bz$1)"
     shift
     error_noexit "$@"
 }