2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

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

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Andrey Vagin <avagin@gmail.com>
This commit is contained in:
Kir Kolyshkin 2012-02-06 20:57:24 +04:00 committed by Andrey Vagin
parent dae80231b0
commit 56efc51a5b

View File

@ -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 ======================"