]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Source/CyaSSL/valgrind-error.sh
Update CyaSSL to latest version.
[freertos] / FreeRTOS-Plus / Source / CyaSSL / valgrind-error.sh
1 #!/bin/sh
2 #
3 #
4 # Our valgrind "error" wrapper.
5
6 valgrind --leak-check=full -q "$@" 2> valgrind.tmp
7
8 result="$?"
9
10 # verify no errors
11
12 output="`cat valgrind.tmp`"
13
14 if [ "$output" != "" ]; then
15     cat valgrind.tmp >&2
16     result=1
17 fi
18
19 rm valgrind.tmp
20
21 exit $result
22