Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
kiwi
:
Appliance
>
dracut
> 0153-TEST-99-RPM-add-test_check-for-rpm-dnf-yum.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0153-TEST-99-RPM-add-test_check-for-rpm-dnf-yum.patch of Package dracut
From 14d7df965f0ac5cef61a48f5986410dd4eb21321 Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Mon, 7 Nov 2016 13:20:35 +0100 Subject: [PATCH] TEST-99-RPM: add test_check() for rpm,dnf,yum --- test/TEST-99-RPM/test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/TEST-99-RPM/test.sh b/test/TEST-99-RPM/test.sh index 04bf0bc3..23fa72cf 100755 --- a/test/TEST-99-RPM/test.sh +++ b/test/TEST-99-RPM/test.sh @@ -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