mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
pam: Fix test_pam on Darwin
Darwin doesn't have a getpassphrase function. Fix the PAM test to use getpass, in the same way as we do for lots of other platforms. Change-Id: Ib252174ac1356a8975a9187b252d4fe0246d5d39 Reviewed-on: http://gerrit.openafs.org/5372 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
1589e29f4e
commit
85d54a064b
@ -28,7 +28,7 @@ static const char *service = "afstest";
|
|||||||
static const char *new_envstring = "GOTHEREVIATESTPAM=1";
|
static const char *new_envstring = "GOTHEREVIATESTPAM=1";
|
||||||
static const char *new_homestring = "HOME=/tmp";
|
static const char *new_homestring = "HOME=/tmp";
|
||||||
|
|
||||||
#if defined(AFS_LINUX20_ENV) || defined(AFS_FBSD_ENV) || defined(AFS_DFBSD_ENV) || defined(AFS_NBSD_ENV)
|
#if defined(AFS_LINUX20_ENV) || defined(AFS_FBSD_ENV) || defined(AFS_DFBSD_ENV) || defined(AFS_NBSD_ENV) || defined(AFS_DARWIN_ENV)
|
||||||
#define getpassphrase getpass
|
#define getpassphrase getpass
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user