From de951a7dfa3109770fc8a9dd51f4e13e866f8988 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Sat, 25 Sep 2010 15:32:05 +0200 Subject: [PATCH] make 'check_whether_build_has_sfa' more robust, now that we build sface --- system/TestPlc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/TestPlc.py b/system/TestPlc.py index 16e61f7..99542c5 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -127,7 +127,8 @@ class TestPlc: # this is originally for centos5 as recent SFAs won't build on this platformb @staticmethod def check_whether_build_has_sfa (rpms_url): - retcod=os.system ("curl --silent %s/ | grep -q sfa"%rpms_url) + # warning, we're now building 'sface' so let's be a bit more picky + retcod=os.system ("curl --silent %s/ | grep -q sfa-"%rpms_url) # full builds are expected to return with 0 here if retcod!=0: # move all steps containing 'sfa' from default_steps to other_steps -- 2.43.0