#!/bin/bash -x echo "Тест наличия MSVSphere ОС в БД osinfo" echo "=====================================" echo "" source ../../library/sh_lib.sh check=0 /usr/bin/osinfo-query os | /bin/grep -i msvsphere8 check=$(eq_is_success ${check} 0) /usr/bin/osinfo-query os | /bin/grep -i msvsphere9 check=$(eq_is_success ${check} 0) check_test_status ${check} "$0" exit ${check}