From 3e10181fa090b673256a81d2d8b2612fe2a1519d Mon Sep 17 00:00:00 2001 From: Sean Marlow Date: Tue, 26 Feb 2019 12:33:08 -0600 Subject: [PATCH] Add new license directories for SLES test. --- usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py | 3 ++- usr/share/lib/ipa/tests/SLES/test_sles_license.py | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py b/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py index 18f02c67..c7f1d97f 100644 --- a/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py +++ b/usr/share/lib/ipa/tests/SLES/SAP/test_sles_sap_license.py @@ -12,7 +12,8 @@ def test_sles_sap_license( license_dirs = [ '/etc/YaST2/licenses/ha/', - '/etc/YaST2/licenses/SLES_SAP/' + '/etc/YaST2/licenses/SLES_SAP/', + '/usr/share/licenses/product/SLES_SAP/' ] result = confirm_sles_license_content(license_dirs) diff --git a/usr/share/lib/ipa/tests/SLES/test_sles_license.py b/usr/share/lib/ipa/tests/SLES/test_sles_license.py index e7a4d31c..2f319f9d 100644 --- a/usr/share/lib/ipa/tests/SLES/test_sles_license.py +++ b/usr/share/lib/ipa/tests/SLES/test_sles_license.py @@ -4,7 +4,9 @@ def test_sles_license(host, confirm_sles_license_content): license_dirs = [ '/etc/YaST2/licenses/base/', - '/etc/YaST2/licenses/SLES/' + '/etc/YaST2/licenses/SLES/', + '/usr/share/licenses/product/base/', + '/usr/share/licenses/product/SLES/' ] result = confirm_sles_license_content(license_dirs)