diff --git a/test/zdtm.sh b/test/zdtm.sh index 9553ef93c..9749b9006 100755 --- a/test/zdtm.sh +++ b/test/zdtm.sh @@ -235,7 +235,7 @@ construct_root() # libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6dc5000) # /lib/ld-linux-armhf.so.3 (0xb6f0b000) - for i in `ldd $test_path $ps_path | grep -P '^\s' | sed "s/.*=> //" | awk '{ print $1 }' | grep -v vdso`; do + for i in `ldd $test_path $ps_path | grep -P '^\s' | grep -v vdso | sed "s/.*=> //" | awk '{ print $1 }'`; do local lib=`basename $i` [ -f $libdir/$lib ] && continue || [ -f $i ] && cp $i $libdir && cp $i $libdir2 && continue ||