You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_osinfo-db/01-msvsphere-present.sh

21 lines
389 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#!/bin/bash
set -e
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}