Add test case for rhbz#2083296

This commit is contained in:
Tom Stellard 2022-05-24 13:35:33 -07:00 committed by churchyard
parent 1f3e0863cc
commit 4f02aa74c5
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
summary: Test to ensure there aren't extraneous characters in build flags
require:
- redhat-rpm-config
test: ./runtest.sh

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -ex
for f in %{build_cflags} %{build_cxxflags} %{build_fflags} %{build_ldflags}; do
rpm --eval "$f" | grep -vP '\t'
done