From d78477811983bd2ca606586ade686cb950f44e77 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 19 Jun 2018 15:21:32 +0200 Subject: Strangely fails locally, ok in mock --- glpi.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/glpi.spec b/glpi.spec index 2216f7e..2dc285a 100644 --- a/glpi.spec +++ b/glpi.spec @@ -405,8 +405,12 @@ done >%{name}.lang %check %if %{with_tests} -# See https://github.com/glpi-project/glpi/issues/4165 -rm tests/functionnal/Auth.php +user=$(id -un) +if [ "$user" = "remi" ]; then + # See https://github.com/glpi-project/glpi/issues/4165 + # Strangely fails locally, ok in mock + rm tests/functionnal/Auth.php +fi RET=0 : Hack for vendor -- cgit