Debian Codegraph @

debian/tests/catch-multiple-free

raw
1 #!/bin/sh
2 # SPDX-FileCopyrightText: 2021 John Scott <[email protected]>
3 # SPDX-License-Identifier: GPL-3.0-or-later
4 CATCH=$(sh-elf-gcc -fanalyzer -Werror=analyzer-double-free debian/tests/multiple-free.c -o "$AUTOPKGTEST_TMP"/a.out 2>&1)
5 if [ -e "$AUTOPKGTEST_TMP"/a.out -o "$CATCH" = "" ]
6 then
7 echo "Something unexpected happened; CATCH = $CATCH" >&2
8 exit 1
9 fi