openafs/tests/common
Mark Vitale ac9d766b47 tests: Ensure temp file cleanup on Solaris
Commit 71acc392a3 'tests: Generalize temp dir management' introduced
afstest_mkdtemp and afstest_rmdtemp.  In afstest_rmdtemp, we invoke rm
with option --one-file-system for Linux and Solaris only.

However, this rm option is new for Solaris 11.4; older Solaris versions
of rm do not support --one-file-system.  This causes afstest_rmdtemp to
always silently fail on Solaris 11.3 or older, due to the invalid rm
option.

Correct the #ifdef so ihe --one-file-system option is specified only for
Linux.  An autoconfig test could be added in a future commit.

Change-Id: Idfe8a018698b128463aaa9679dfef4e55deef805
Reviewed-on: https://gerrit.openafs.org/15723
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
2024-06-24 15:10:23 -04:00
..
common.h tests: Add test keys in afstest_BuildTestConfig 2021-12-27 22:46:12 -05:00
config.c tests: Add test keys in afstest_BuildTestConfig 2021-12-27 22:46:12 -05:00
exec.c tests: Generalize temp dir management 2021-08-13 17:50:23 -04:00
files.c tests: Ensure temp file cleanup on Solaris 2024-06-24 15:10:23 -04:00
Makefile.in tests: Check for vlserver startup 2021-10-27 01:07:05 -04:00
misc.c tests: Introduce afstest_asprintf 2021-08-07 20:41:08 -04:00
network.c tests: Introduce afstest_MyHostAddr 2021-10-27 01:06:33 -04:00
rxkad.c tests: Move token faking code to its own file 2012-04-22 06:18:19 -07:00
servers.c tests: Improve fork/waitpid error handling 2022-04-06 23:46:26 -04:00
ubik.c tests: Abstract out code to produce a Ubik client 2012-04-22 06:17:17 -07:00