[osinfo-db-tools PATCH v2 1/2] configure: Fix EXECUTE_TESTS condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When b380daf430 fixed the non-portable shell test syntax, a new `test`
should have been added so both conditions are properly evaluated.

Example:
[test "x$foo" = "xyes" && test "x$bar = "xyes"] instead of
[test "x$foo" = "yes" -a "x$bar" = "xyes"].

Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f3139f2..25a1a27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ else
     HAVE_PYTEST="no"
     HAVE_REQUESTS="no"
 fi
-AM_CONDITIONAL([EXECUTE_TESTS], [test "x$HAVE_PYTEST" == "xyes" && "x$HAVE_REQUESTS" = "xyes"])
+AM_CONDITIONAL([EXECUTE_TESTS], [test "x$HAVE_PYTEST" == "xyes" && test "x$HAVE_REQUESTS" = "xyes"])
 
 LT_INIT([shared disable-static win32-dll])
 
-- 
2.21.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux