Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:nkrapp:branches:Base:System
dracut
TEST-63-DRACUT-CPIO-V59-openQA.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File TEST-63-DRACUT-CPIO-V59-openQA.patch of Package dracut
From ca4208f6115ed894a078d629e0f609825c319b4b Mon Sep 17 00:00:00 2001 From: nkrapp <nico.krapp@suse.com> Date: Mon, 8 May 2023 14:43:32 +0200 Subject: [PATCH] Patch TEST-63 --- test/TEST-63-DRACUT-CPIO/test.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/TEST-63-DRACUT-CPIO/test.sh b/test/TEST-63-DRACUT-CPIO/test.sh index be93cfb5e..4706a5c29 100755 --- a/test/TEST-63-DRACUT-CPIO/test.sh +++ b/test/TEST-63-DRACUT-CPIO/test.sh @@ -6,6 +6,8 @@ TEST_DESCRIPTION="kernel cpio extraction tests for dracut-cpio" # see dracut-cpio source for unit tests +export basedir=/usr/lib/dracut + test_check() { if ! [[ -x $basedir/dracut-cpio ]]; then echo "Test needs dracut-cpio... Skipping" @@ -61,6 +63,10 @@ EOF test_run() { set -x + # bug in setup: export CPIO_TESTDIR cannot work for test.sh --run + . test.sh --setup + export CPIO_TESTDIR + # dracut-cpio is typically used with compression and strip disabled, to # increase the chance of (reflink) extent sharing. test_dracut_cpio "simple" "--no-compress" "--nostrip" || return 1 @@ -72,7 +78,6 @@ test_run() { test_setup() { CPIO_TESTDIR=$(mktemp --directory -p "$TESTDIR" cpio-test.XXXXXXXXXX) \ || return 1 - export CPIO_TESTDIR return 0 } @@ -82,4 +87,4 @@ test_cleanup() { } # shellcheck disable=SC1090 -. "$testdir"/test-functions +. "$basedir"/test/test-functions
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor