Lines Matching refs:test

4 Subject: [PATCH] configure: test -a|o is not POSIX
6 Fixes `test: too many arguments` when building Linux-PAM using sbase.
7 This is due to a non-POSIX syntax test ... -a ... and test ... -o ....
12 See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
25 @@ -346,7 +346,7 @@ if test x"$WITH_LIBAUDIT" != xno ; then
29 - if test -n "$LIBAUDIT" -a "$ac_cv_header_libaudit_h" != "no" ; then
30 + if test -n "$LIBAUDIT" && test "$ac_cv_header_libaudit_h" != "no" ; then
33 if test -n "$HAVE_AUDIT_TTY_STATUS" ; then
38 -if test "$LIBCRYPT" = "-lxcrypt" -a "$ac_cv_header_xcrypt_h" = "yes" ; then
39 +if test "$LIBCRYPT" = "-lxcrypt" && test "$ac_cv_header_xcrypt_h" = "yes" ; then
44 -if test "$opt_randomdev" = yes -o -z "$opt_randomdev"; then
45 +if test "$opt_randomdev" = yes || test -z "$opt_randomdev"; then
47 elif test "$opt_randomdev" = no; then
52 if test x"$WITH_DB" != xno ; then
53 - if test x"$WITH_DB" = xyes -o x"$WITH_DB" = xdb ; then
54 + if test x"$WITH_DB" = xyes || test x"$WITH_DB" = xdb ; then
62 -AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_docu != xno -a x$enable_doc != xno)
63 +AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test x$enable_docu != xno && test x$enable_doc != xno)
64 AM_CONDITIONAL(ENABLE_GENERATE_PDF, test -n "$FO2PDF")
68 AM_CONDITIONAL([COND_BUILD_PAM_KEYINIT], [test "$have_key_syscalls" = 1])
69 AM_CONDITIONAL([COND_BUILD_PAM_LASTLOG], [test "$ac_cv_func_logwtmp" = yes])
70 AM_CONDITIONAL([COND_BUILD_PAM_NAMESPACE], [test "$ac_cv_func_unshare" = yes])
71 -AM_CONDITIONAL([COND_BUILD_PAM_RHOSTS], [test "$ac_cv_func_ruserok_af" = yes -o "$ac_cv_func_ruser…
72 +AM_CONDITIONAL([COND_BUILD_PAM_RHOSTS], [test "$ac_cv_func_ruserok_af" = yes || test "$ac_cv_func_…
73 AM_CONDITIONAL([COND_BUILD_PAM_SELINUX], [test -n "$LIBSELINUX"])
74 AM_CONDITIONAL([COND_BUILD_PAM_SEPERMIT], [test -n "$LIBSELINUX"])
75 AM_CONDITIONAL([COND_BUILD_PAM_SETQUOTA], [test "$ac_cv_func_quotactl" = yes])