openafs/tests/auth
Andrew Deason 790b3108df Inhibit -Wdeprecated-declarations via CFLAGS
Currently, we inhibit various -Wdeprecated-declarations warnings via
"#pragma GCC diagnostic warning". Some older compilers (like gcc 4.1 on
RHEL5) don't understand the pragma, but still need the warning inhibited
in order to build with --enable-checking. So just inhibit this warning
via command-line CFLAGS instead of using #pragma directives.

One source file, tests/auth/superuser-t.c, was inhibiting the
-Wdeprecated-declaractions warning unnecessarily (it has not been needed
since commit 5815a04cf1 (tests: Move token faking code to its own
file)). Just remove the warning inhibition there, instead.

Change-Id: I52b1aeeac8699f9a4820626e9f1349f8cd380585
Reviewed-on: https://gerrit.openafs.org/15777
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
2024-07-09 09:05:06 -04:00
..
.gitignore auth: local realms configuration 2012-04-16 10:31:04 -07:00
authcon-t.c tests: Add test keys in afstest_BuildTestConfig 2021-12-27 22:46:12 -05:00
KeyFile tests: Add tests for afsconf_'s key functions 2010-12-27 14:39:37 -08:00
KeyFile.short tests: Modernize writekeyfile.c 2020-06-19 11:48:57 -04:00
keys-t.c tests: Add test keys in afstest_BuildTestConfig 2021-12-27 22:46:12 -05:00
Makefile.in tests: Add missing dependencies for the C-TAP tests 2024-06-24 15:12:11 -04:00
realms-t.c tests: Add test keys in afstest_BuildTestConfig 2021-12-27 22:46:12 -05:00
superuser-t.c Inhibit -Wdeprecated-declarations via CFLAGS 2024-07-09 09:05:06 -04:00
test.xg auth: Add more tests and resulting fixes to userok 2010-12-26 10:58:49 -08:00
writekeyfile.c tests: Add test keys in afstest_BuildTestConfig 2021-12-27 22:46:12 -05:00
writeoldkey-t tests: Cleanup auth/writeoldkey-t temp directory 2024-06-24 15:10:43 -04:00