mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 21:07:43 +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:
parent
dae80231b0
commit
56efc51a5b
14
test/zdtm.sh
14
test/zdtm.sh
@ -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 ======================"
|
||||
|
Loading…
x
Reference in New Issue
Block a user