try to avoid being fooled when detecting a no-sfa build
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 29 Apr 2022 16:13:47 +0000 (18:13 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 29 Apr 2022 16:13:47 +0000 (18:13 +0200)
system/TestPlc.py

index c50b952..633fde2 100644 (file)
@@ -245,7 +245,7 @@ class TestPlc:
         # warning, we're now building 'sface' so let's be a bit more picky
         # full builds are expected to return with 0 here
         utils.header("Checking if build provides SFA package...")
-        retcod = utils.system("curl --silent {}/ | grep -q sfa-".format(rpms_url)) == 0
+        retcod = utils.system("curl --silent {}/ | grep -q sfa-4".format(rpms_url)) == 0
         encoded = 'yes' if retcod else 'no'
         with open(has_sfa_cache_filename,'w') as cache:
             cache.write(encoded)