zdtm.sh: fixed shared libraries retrieval
zdtm.sh: fixed shared libraries retrieval

The pipe retrieving shared libraries the test depends on

ldd $test_path $ps_path | awk '/^\s/{ print $1 }'

doesn't actually produce any output so all NS tests fail
bacause the system linker fails to locate shared libraries
the test program depends on. This patch fixes the pipe
to retrieve the list of libraries properly.

Signed-off-by: Alexander Kartashov <5dbba7f06b96156c7ec38c5bd8a847828ec59a50@parallels.com>
Acked-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@parallels.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

fbocharov/criu,efiop/criu,rentzsch/criu,sdgdsffdsfff/criu,efiop/criu,biddyweb/criu,marcosnils/criu,eabatalov/criu,gablg1/criu,KKoukiou/criu-remote,sdgdsffdsfff/criu,eabatalov/criu,svloyso/criu,sdgdsffdsfff/criu,biddyweb/criu,efiop/criu,rentzsch/criu,biddyweb/criu,svloyso/criu,gonkulator/criu,tych0/criu,eabatalov/criu,ldu4/criu,kawamuray/criu,wtf42/criu,ldu4/criu,LK4D4/criu,ldu4/criu,efiop/criu,svloyso/criu,fbocharov/criu,wtf42/criu,sdgdsffdsfff/criu,kawamuray/criu,wtf42/criu,LK4D4/criu,marcosnils/criu,AuthenticEshkinKot/criu,LK4D4/criu,kawamuray/criu,fbocharov/criu,gablg1/criu,gablg1/criu,svloyso/criu,rentzsch/criu,efiop/criu,fbocharov/criu,AuthenticEshkinKot/criu,marcosnils/criu,KKoukiou/criu-remote,eabatalov/criu,biddyweb/criu,gonkulator/criu,sdgdsffdsfff/criu,fbocharov/criu,gablg1/criu,ldu4/criu,AuthenticEshkinKot/criu,AuthenticEshkinKot/criu,gonkulator/criu,KKoukiou/criu-remote,marcosnils/criu,ldu4/criu,LK4D4/criu,gonkulator/criu,tych0/criu,svloyso/criu,efiop/criu,sdgdsffdsfff/criu,marcosnils/criu,gonkulator/criu,tych0/criu,biddyweb/criu,gonkulator/criu,svloyso/criu,LK4D4/criu,KKoukiou/criu-remote,wtf42/criu,kawamuray/criu,fbocharov/criu,AuthenticEshkinKot/criu,marcosnils/criu,eabatalov/criu,wtf42/criu,wtf42/criu,eabatalov/criu,rentzsch/criu,LK4D4/criu,kawamuray/criu,biddyweb/criu,KKoukiou/criu-remote,gablg1/criu,tych0/criu,KKoukiou/criu-remote,rentzsch/criu,kawamuray/criu,AuthenticEshkinKot/criu,ldu4/criu,gablg1/criu,tych0/criu,tych0/criu,rentzsch/criu