note a leak that needs fixing eventually
[trinity.git] / scripts / test-all-syscalls-parallel.sh
blob720636421c768639413d12d8729b41d3d96c724c
1 #!/bin/bash
3 TRINITY_PATH=${TRINITY_PATH:-.}
4 TRINITY_TMP=$(mktemp -d /tmp/trinity.XXXXXX)
6 chmod 755 $TRINITY_TMP
7 cd $TRINITY_TMP
9 while [ 1 ];
11 for syscall in $($TRINITY_PATH/trinity -L | grep entrypoint | grep -v AVOID | awk '{ print $3 }' | sort -u)
13 MALLOC_CHECK_=2 $TRINITY_PATH/trinity -q -c $syscall -D &
14 done
15 wait
16 done