ok, not so fast, so while that works for simple single processes, it fails three tests:
FAIL: sleep in /discs/more/daveg/git/ltrace/testsuite/ltrace.minor/attach-process.ltrace for 0 times, should be 1
FAIL: ^[0-9]* puts in /discs/more/daveg/git/ltrace/testsuite/ltrace.minor/trace-exec.ltrace for 0 times, should be 1
FAIL: ^[0-9]* __libc_start_main in /discs/more/daveg/git/ltrace/testsuite/ltrace.minor/trace-exec.ltrace for 1 times, should be 2
and it gets stuck or segfaults trying to run ltrace -f /bin/bash thistest
ok, not so fast, so while that works for simple single processes, it fails three tests:
FAIL: sleep in /discs/ more/daveg/ git/ltrace/ testsuite/ ltrace. minor/attach- process. ltrace for 0 times, should be 1 more/daveg/ git/ltrace/ testsuite/ ltrace. minor/trace- exec.ltrace for 0 times, should be 1 more/daveg/ git/ltrace/ testsuite/ ltrace. minor/trace- exec.ltrace for 1 times, should be 2
FAIL: ^[0-9]* puts in /discs/
FAIL: ^[0-9]* __libc_start_main in /discs/
and it gets stuck or segfaults trying to run ltrace -f /bin/bash thistest
#!/bin/bash
/bin/ls
find . -name '*.c' -exec md5sum {} \;