Fix test-ptrace in automated mode
Fix test-ptrace in automated mode

Tested via:
./test-ptrace
./test-ptrace -v /bin/ls /usr

vtjnash/libunwind,geekboxzone/lollipop_external_libunwind,pathscale/libunwind,krytarowski/libunwind,wdv4758h/libunwind,dreal-deps/libunwind,dagar/libunwind,atanasyan/libunwind,libunwind/libunwind,olibc/libunwind,djwatson/libunwind,rntz/libunwind,tronical/libunwind,unkadoug/libunwind,mpercy/libunwind,evaautomation/libunwind,maltek/platform_external_libunwind,vegard/libunwind,cloudius-systems/libunwind,zeldin/platform_external_libunwind,atanasyan/libunwind-android,DroidSim/platform_external_libunwind,djwatson/libunwind,frida/libunwind,geekboxzone/lollipop_external_libunwind,tkelman/libunwind,wdv4758h/libunwind,tony/libunwind,igprof/libunwind,fillexen/libunwind,android-ia/platform_external_libunwind,geekboxzone/mmallow_external_libunwind,bo-on-software/libunwind,rogwfu/libunwind,project-zerus/libunwind,Keno/libunwind,CyanogenMod/android_external_libunwind,olibc/libunwind,geekboxzone/mmallow_external_libunwind,igprof/libunwind,fdoray/libunwind,rogwfu/libunwind,fillexen/libunwind,SyndicateRogue/libunwind,CyanogenMod/android_external_libunwind,zliu2014/libunwind-tilegx,SyndicateRogue/libunwind,joyent/libunwind,DroidSim/platform_external_libunwind,vtjnash/libunwind,vtjnash/libunwind,tony/libunwind,bo-on-software/libunwind,dropbox/libunwind,Chilledheart/libunwind,rntz/libunwind,rantala/libunwind,rantala/libunwind,unkadoug/libunwind,Keno/libunwind,androidarmv6/android_external_libunwind,dropbox/libunwind,android-ia/platform_external_libunwind,yuyichao/libunwind,zliu2014/libunwind-tilegx,android-ia/platform_external_libunwind,frida/libunwind,rntz/libunwind,evaautomation/libunwind,dagar/libunwind,dreal-deps/libunwind,project-zerus/libunwind,CyanogenMod/android_external_libunwind,Chilledheart/libunwind,androidarmv6/android_external_libunwind,fdoray/libunwind,mpercy/libunwind,krytarowski/libunwind,martyone/libunwind,project-zerus/libunwind,cloudius-systems/libunwind,zliu2014/libunwind-tilegx,vegard/libunwind,geekboxzone/mmallow_external_libunwind,unkadoug/libunwind,cloudius-systems/libunwind,tony/libunwind,tronical/libunwind,DroidSim/platform_external_libunwind,cms-externals/libunwind,tronical/libunwind,yuyichao/libunwind,atanasyan/libunwind-android,wdv4758h/libunwind,vegard/libunwind,dagar/libunwind,libunwind/libunwind,yuyichao/libunwind,martyone/libunwind,joyent/libunwind,pathscale/libunwind,evaautomation/libunwind,olibc/libunwind,igprof/libunwind,fillexen/libunwind,zeldin/platform_external_libunwind,rantala/libunwind,atanasyan/libunwind,Chilledheart/libunwind,dropbox/libunwind,maltek/platform_external_libunwind,cms-externals/libunwind,mpercy/libunwind,djwatson/libunwind,atanasyan/libunwind-android,libunwind/libunwind,frida/libunwind,geekboxzone/lollipop_external_libunwind,fdoray/libunwind,androidarmv6/android_external_libunwind,tkelman/libunwind,pathscale/libunwind,martyone/libunwind,atanasyan/libunwind,zeldin/platform_external_libunwind,tkelman/libunwind,dreal-deps/libunwind,maltek/platform_external_libunwind,bo-on-software/libunwind,SyndicateRogue/libunwind,Keno/libunwind,rogwfu/libunwind,joyent/libunwind,krytarowski/libunwind,cms-externals/libunwind