TEST-99-RPM: add test_check() for rpm,dnf,yum

master
Harald Hoyer 2016-11-07 13:20:35 +01:00
parent 2811e4ed22
commit e22e04ae15
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
#!/bin/bash

TEST_DESCRIPTION="rpm integrity after dracut and kernel install"
$TESTDIR

test_check() {
command -v rpm &>/dev/null && ( command -v yum || command -v dnf ) &>/dev/null
}

test_run() {
set -x