mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-14 06:28:55 +00:00
fix the grep in the test
This commit is contained in:
parent
d4dd63a25a
commit
53ce54faf2
2
debian/qualify-clang.sh
vendored
2
debian/qualify-clang.sh
vendored
@ -51,7 +51,7 @@ scan-build-$VERSION gcc -c foo.c &> /dev/null
|
||||
scan-build-$VERSION clang-$VERSION -c foo.c &> /dev/null
|
||||
scan-build-$VERSION --exclude non-existing/ --exclude /tmp/ -v clang-$VERSION -c foo.c &> /dev/null
|
||||
scan-build-$VERSION --exclude $(pwd) -v clang-$VERSION -c foo.c &> foo.log
|
||||
if ! grep -q -E "scan-build: 0 bugs found."; then
|
||||
if ! grep -q -E "scan-build: 0 bugs found." foo.log; then
|
||||
echo "scan-build --exclude didn't ignore the defect"
|
||||
exit 42
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user