Commit bd8876d2 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: fix syntax error in zdtm.sh

./zdtm.sh: line 231: local: `lname,': not a valid identifier
./zdtm.sh: line 251: local: `ldir,': not a valid identifier

https://bugzilla.openvz.org/show_bug.cgi?id=2763Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4b9b7953
...@@ -228,7 +228,7 @@ construct_root() ...@@ -228,7 +228,7 @@ construct_root()
local libdir=$root/lib local libdir=$root/lib
local libdir2=$root/lib64 local libdir2=$root/lib64
local tmpdir=$root/tmp local tmpdir=$root/tmp
local lname, tname local lname tname
mkdir -p $root/bin mkdir -p $root/bin
cp $ps_path $root/bin cp $ps_path $root/bin
...@@ -248,7 +248,7 @@ construct_root() ...@@ -248,7 +248,7 @@ construct_root()
# /lib/ld-linux-armhf.so.3 (0xb6f0b000) # /lib/ld-linux-armhf.so.3 (0xb6f0b000)
for i in `ldd $test_path $ps_path | grep -P '^\s' | grep -v vdso | sed "s/.*=> //" | awk '{ print $1 }'`; do for i in `ldd $test_path $ps_path | grep -P '^\s' | grep -v vdso | sed "s/.*=> //" | awk '{ print $1 }'`; do
local ldir, lib=`basename $i` local ldir lib=`basename $i`
[ -f $libdir2/$lib ] && continue # fast path [ -f $libdir2/$lib ] && continue # fast path
......
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