From 08b9375b84f37532b9d9388d1e849521da442c0a Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Wed, 4 Sep 2024 01:20:41 +0300 Subject: [PATCH] Remove tests for EL 7 --- tests/gdal/gdal3-el7.recipe | 55 ---------------- tests/{gdal => }/gdal3.recipe | 0 tests/nfs-utils/nfs-utils-el7.recipe | 88 ------------------------- tests/rpmlint/rpmlint-el7.recipe | 22 ------- tests/yum-plugin-priorities-el7.recipe | 17 ----- tests/yum-plugin-replace-el7.recipe | 17 ----- tests/yum-plugin-versionlock-el7.recipe | 19 ------ 7 files changed, 218 deletions(-) delete mode 100644 tests/gdal/gdal3-el7.recipe rename tests/{gdal => }/gdal3.recipe (100%) delete mode 100644 tests/nfs-utils/nfs-utils-el7.recipe delete mode 100644 tests/rpmlint/rpmlint-el7.recipe delete mode 100644 tests/yum-plugin-priorities-el7.recipe delete mode 100644 tests/yum-plugin-replace-el7.recipe delete mode 100644 tests/yum-plugin-versionlock-el7.recipe diff --git a/tests/gdal/gdal3-el7.recipe b/tests/gdal/gdal3-el7.recipe deleted file mode 100644 index 1d0618790..000000000 --- a/tests/gdal/gdal3-el7.recipe +++ /dev/null @@ -1,55 +0,0 @@ -# Bibop recipe for GDAL 3 for EL7 -# See more: https://kaos.sh/bibop - -pkg gdal3 gdal3-libs gdal3-devel - -fast-finish yes - -var inc_dir /usr/include/gdal -var lib_dir /usr/lib/gdal -var cmake_lib /usr/lib64/cmake/gdal - -command "-" "Check apps" - app gdal-config - app gdal_contour - app gdal_create - app gdal_grid - app gdal_rasterize - app gdal_translate - app gdal_viewshed - app gdaladdo - app gdalbuildvrt - app gdaldem - app gdalenhance - app gdalinfo - app gdallocationinfo - app gdalmanage - app gdalmdiminfo - app gdalmdimtranslate - app gdalsrsinfo - app gdaltindex - app gdaltransform - app gdalwarp - app gnmanalyse - app gnmmanage - app nearblack - app ogr2ogr - app ogrinfo - app ogrlineref - app ogrtindex - app sozip - -command "-" "Check cmake scripts" - exist {cmake_lib}/GDAL-targets-noconfig.cmake - exist {cmake_lib}/GDAL-targets.cmake - exist {cmake_lib}/GDALConfig.cmake - exist {cmake_lib}/GDALConfigVersion.cmake - -command "-" "Check shared libs" - lib-loaded libgdal.so.* - -command "-" "Check headers" - exist {inc_dir}/gdal.h - -command "-" "Check pkg-config" - lib-config gdal diff --git a/tests/gdal/gdal3.recipe b/tests/gdal3.recipe similarity index 100% rename from tests/gdal/gdal3.recipe rename to tests/gdal3.recipe diff --git a/tests/nfs-utils/nfs-utils-el7.recipe b/tests/nfs-utils/nfs-utils-el7.recipe deleted file mode 100644 index 9304fc990..000000000 --- a/tests/nfs-utils/nfs-utils-el7.recipe +++ /dev/null @@ -1,88 +0,0 @@ -# Bibop recipe for nfs-utils -# See more: https://kaos.sh/bibop - -pkg nfs-utils - -require-root yes - -var conf_file /etc/nfsmount.conf -var lib_dir /var/lib/nfs - -command "-" "Check apps and configs" - app mount.nfs - app mount.nfs4 - app nfsdcltrack - app osd_login - app rpc.statd - app umount.nfs - app umount.nfs4 - app blkmapd - app exportfs - app mountstats - app nfsidmap - app nfsiostat - app nfsstat - app rpc.gssd - app rpc.idmapd - app rpc.mountd - app rpc.nfsd - app rpcdebug - app showmount - app sm-notify - app start-statd - - exist {conf_file} - mode {conf_file} 644 - - exist {lib_dir} - mode {lib_dir} 755 - -command "-" "Check users and groups" - user-exist rpcuser - user-id rpcuser 29 - user-gid rpcuser 29 - user-group rpcuser rpcuser - group-exist rpcuser - group-id rpcuser 29 - - user-exist nfsnobody - user-id nfsnobody 65534 - user-gid nfsnobody 65534 - user-group nfsnobody nfsnobody - group-exist nfsnobody - group-id nfsnobody 65534 - -command "-" "Check unit files" - service-present auth-rpcgss-module - service-present nfs - service-present nfs-blkmap - service-present nfs-config - service-present nfs-idmap - service-present nfs-idmapd - service-present nfs-lock - service-present nfs-mountd - service-present nfs-secure - service-present nfs-server - service-present nfs-utils - service-present rpc-gssd - service-present rpc-statd - service-present rpc-statd-notify - -command "systemctl start nfs-server" "Start NFS Server daemon" - wait-service nfs-server 5 - wait-service nfs-mountd 5 - wait-service nfs-idmapd 5 - -command "systemctl status nfs-server" "Check status of NFS Server daemon" - expect "active (exited)" - -command "systemctl status nfs-mountd" "Check status of NFS Mount daemon" - expect "active (running)" - -command "systemctl status nfs-idmapd" "Check status of NFSv4 ID-name mapping daemon" - expect "active (running)" - -command "systemctl stop nfs-server" "Stop NFS Server daemon" - !wait-service nfs-server 5 - !wait-service nfs-mountd 5 - !wait-service nfs-idmapd 5 diff --git a/tests/rpmlint/rpmlint-el7.recipe b/tests/rpmlint/rpmlint-el7.recipe deleted file mode 100644 index f2281233d..000000000 --- a/tests/rpmlint/rpmlint-el7.recipe +++ /dev/null @@ -1,22 +0,0 @@ -# Bibop recipe for rpmlint (EL7) -# See more: https://kaos.sh/bibop - -pkg rpmlint - -fast-finish yes - -command "-" "Check environment" - app rpmlint - app rpmdiff - -command "rpmlint test1.spec" "Check well-formated spec" - exit 0 - output-contains "0 packages and 1 specfiles checked; 0 errors, 0 warnings." - -command "rpmlint test2.spec" "Check spec with warnings" - exit 0 - output-contains "test2.spec: W: more-than-one-%changelog-section" - -command "rpmlint test3.spec" "Check spec with errors" - exit 0 - output-contains "error: line 23: Unknown tag: %descriptionZ" diff --git a/tests/yum-plugin-priorities-el7.recipe b/tests/yum-plugin-priorities-el7.recipe deleted file mode 100644 index da0f01e31..000000000 --- a/tests/yum-plugin-priorities-el7.recipe +++ /dev/null @@ -1,17 +0,0 @@ -# Bibop recipe for yum-plugin-priorities -# See more: https://kaos.sh/bibop - -pkg yum-plugin-priorities - -fast-finish yes - -var plugin_dir /usr/lib/yum-plugins -var config_dir /etc/yum/pluginconf.d - -command "-" "Check configuration files" - exist {config_dir}/priorities.conf - mode {config_dir}/priorities.conf 644 - -command "-" "Check plugin code" - exist {plugin_dir}/priorities.py - mode {plugin_dir}/priorities.py 644 diff --git a/tests/yum-plugin-replace-el7.recipe b/tests/yum-plugin-replace-el7.recipe deleted file mode 100644 index c937ab28d..000000000 --- a/tests/yum-plugin-replace-el7.recipe +++ /dev/null @@ -1,17 +0,0 @@ -# Bibop recipe for yum-plugin-replace -# See more: https://kaos.sh/bibop - -pkg yum-plugin-replace - -fast-finish yes - -var plugin_dir /usr/lib/yum-plugins -var config_dir /etc/yum/pluginconf.d - -command "-" "Check configuration files" - exist {config_dir}/replace.conf - mode {config_dir}/replace.conf 644 - -command "-" "Check plugin code" - exist {plugin_dir}/replace.py - mode {plugin_dir}/replace.py 644 diff --git a/tests/yum-plugin-versionlock-el7.recipe b/tests/yum-plugin-versionlock-el7.recipe deleted file mode 100644 index fd50d2bbe..000000000 --- a/tests/yum-plugin-versionlock-el7.recipe +++ /dev/null @@ -1,19 +0,0 @@ -# Bibop recipe for yum-plugin-versionlock -# See more: https://kaos.sh/bibop - -pkg yum-plugin-versionlock - -fast-finish yes - -var plugin_dir /usr/lib/yum-plugins -var config_dir /etc/yum/pluginconf.d - -command "-" "Check configuration files" - exist {config_dir}/versionlock.conf - mode {config_dir}/versionlock.conf 644 - exist {config_dir}/versionlock.list - mode {config_dir}/versionlock.list 644 - -command "-" "Check plugin code" - exist {plugin_dir}/versionlock.py - mode {plugin_dir}/versionlock.py 644