Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:tsaupe:branches:Base:System:dracut-openqa-v059
dracut
0001-adapt-TEST-01-BASIC-for-SUSE.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-adapt-TEST-01-BASIC-for-SUSE.patch of Package dracut
From 2ccd196c55c9f4e9539b32e189dcd897a4008c75 Mon Sep 17 00:00:00 2001 From: Thomas Blume <Thomas.Blume@suse.com> Date: Thu, 30 Nov 2023 10:03:34 +0100 Subject: [PATCH] adapt TEST-01-BASIC for SUSE --- test/TEST-01-BASIC/test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh index 37059d4..ba1ffd2 100755 --- a/test/TEST-01-BASIC/test.sh +++ b/test/TEST-01-BASIC/test.sh @@ -7,6 +7,8 @@ KVERSION=${KVERSION-$(uname -r)} # Uncomment this to debug failures # DEBUGFAIL="rd.shell rd.break" +export basedir=/usr/lib/dracut + test_run() { dd if=/dev/zero of="$TESTDIR"/marker.img bs=1MiB count=1 declare -a disk_args=() @@ -20,7 +22,7 @@ test_run() { -append "panic=1 oops=panic softlockup_panic=1 systemd.crash_reboot \"root=LABEL= rdinit=/bin/sh\" rw systemd.log_level=debug systemd.log_target=console rd.retry=3 rd.debug console=ttyS0,115200n81 rd.shell=0 $DEBUGFAIL" \ -initrd "$TESTDIR"/initramfs.testing || return 1 - grep -U --binary-files=binary -F -m 1 -q dracut-root-block-success "$TESTDIR"/marker.img + grep -U --binary-files=binary -F -m 1 -q dracut-root-block-success "$TESTDIR"/marker.img || return 1 } test_setup() { @@ -39,7 +41,7 @@ test_setup() { # We do it this way so that we do not risk trashing the host mdraid # devices, volume groups, encrypted partitions, etc. "$basedir"/dracut.sh -l -i "$TESTDIR"/overlay / \ - -m "test-makeroot dash rootfs-block kernel-modules" \ + -m "test-makeroot bash rootfs-block kernel-modules" \ -d "piix ide-gd_mod ata_piix ext3 sd_mod" \ -I "mkfs.ext3" \ -i ./create-root.sh /lib/dracut/hooks/initqueue/01-create-root.sh \ -- 2.43.0
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