]> git.pld-linux.org Git - packages/test.git/commitdiff
check AT_SECURE value on builders
authorJan Palus <atler@pld-linux.org>
Sun, 3 Mar 2019 22:40:57 +0000 (23:40 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 3 Mar 2019 22:40:57 +0000 (23:40 +0100)
test.spec

index 325be10e47a9c24105940fdecb09ddc8dfa3ec0e..afa84c8ac60bbf2c582916f9a2c0619706dde33a 100644 (file)
--- a/test.spec
+++ b/test.spec
@@ -17,6 +17,16 @@ testing something
 
 %prep
 %setup -qcT
+cat > test.c <<EOF
+#include <stdio.h>
+#include <sys/auxv.h>
+
+int main() {
+  printf("%lu\n", getauxval(AT_SECURE));
+}
+EOF
+%{__cc} test.c -o test
+./test
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.161061 seconds and 4 git commands to generate.