From: Mark Wooding Date: Fri, 19 Feb 2016 21:49:33 +0000 (+0000) Subject: server/tests.at: Make the strace options better. X-Git-Tag: 1.0.0pre18~11 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/commitdiff_plain/5e55d10ba1c558cbb3371068970922ea405c728b server/tests.at: Make the strace options better. * `-ff' to split the traces for different processes out into separate files. This is mostly good because it removes the confusing interleaving of blocking system calls issued from concurrently running processes. * `-tt' to print high-resolution timestamps on each line, for correlating the traces now they've been separated. * `-v' to print out full dumps of environments and other such things. * `-s1024' to print the whole of longish strings. --- diff --git a/server/tests.at b/server/tests.at index df77d718..8e155b68 100644 --- a/server/tests.at +++ b/server/tests.at @@ -58,7 +58,7 @@ m4_define([WITH_STRACE], mkdir -p strace-hack.$1/ (ulimit -c hard >/dev/null 2>&1 sh -c 'cd strace-hack.$1; exec "$[]@"' - \ - strace -f -o../$1.trace \ + strace -ff -tt -v -s1024 -o../$1.trace \ sh -c 'cd ..; exec "$[]@"' - \ $2) ;;