[CRIU] [PATCH] zdtm: fix syntax error in zdtm.sh
Andrey Vagin
avagin at openvz.org
Tue Oct 1 12:41:43 PDT 2013
./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=2763
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
test/zdtm.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/zdtm.sh b/test/zdtm.sh
index 17b8306..83bf1e1 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -228,7 +228,7 @@ construct_root()
local libdir=$root/lib
local libdir2=$root/lib64
local tmpdir=$root/tmp
- local lname, tname
+ local lname tname
mkdir -p $root/bin
cp $ps_path $root/bin
@@ -248,7 +248,7 @@ construct_root()
# /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
- local ldir, lib=`basename $i`
+ local ldir lib=`basename $i`
[ -f $libdir2/$lib ] && continue # fast path
--
1.8.3.1
More information about the CRIU
mailing list