Add test case for rhbz#2083296
This commit is contained in:
parent
1f3e0863cc
commit
4f02aa74c5
5
tests/characters-in-flags/main.fmf
Normal file
5
tests/characters-in-flags/main.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Test to ensure there aren't extraneous characters in build flags
|
||||
require:
|
||||
- redhat-rpm-config
|
||||
test: ./runtest.sh
|
||||
|
7
tests/characters-in-flags/runtest.sh
Executable file
7
tests/characters-in-flags/runtest.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user