Commit 56efc51a authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Andrey Vagin

test/zdtm.sh cleanup: mark local variables as such

Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarAndrey Vagin <avagin@gmail.com>
parent dae80231
......@@ -44,15 +44,15 @@ CRTOOLS=`pwd`/`dirname $0`/../crtools
run_test()
{
test=$ZP/$1
tname=`basename $test`
tdir=`dirname $test`
local test=$ZP/$1
local tname=`basename $test`
local tdir=`dirname $test`
killall -9 $tname
make -C $tdir cleanout $tname.pid
pid=`cat $test.pid` || return 1
ddump="dump/$tname/$pid"
local pid=`cat $test.pid` || return 1
local ddump="dump/$tname/$pid"
DUMP_PATH=`pwd`"/"$ddump
echo Dump $pid
......@@ -80,8 +80,8 @@ run_test()
case_error()
{
test=$ZP/$1
test_log="`pwd`/$test.out"
local test=$ZP/$1
local test_log="`pwd`/$test.out"
echo "Test: $test"
echo "====================== ERROR ======================"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment